Help needed with debugging TWSocket

02/12/2007 - 19:28 von Arno Garrels | Report spam

Since yesterday I encountered a strange error with V6.
That is SessionClosed is not fired in some very rare cases.
Well, it's not the original TWSocketServer but a slightly
changed version. My test uses LineMode and LineEdit is turned
off. When it happens LastError is 10038, State is wsClosed and
FRcvdCnt has a negative value (-10), FCloseInvoked is FALSE.
What's very strange is that it happened also in the debugger
with no SocketError fired?
Also FRcvdCnt should never get negative. I can close the Object
without any error (I use FastMM4, lastest version in full debug mode).
I added some debug code at some places to raise an exception when
FRcvdCnt gets negative, however since I put that code in it never
happend again, this stuff puzzels my since yesterday, do you have
any idea?


Lesen sie die antworten

#1 Arno Garrels
02/12/2007 - 19:33 | Warnen spam
Das war nicht für die Öffentlichkeit bestimmt, sorry!

Arno Garrels

Ähnliche fragen