Hello Arno,

> You may be right since in procedure TCustomWSocket.TryToSend FCloseInvoked

You are right, and I think that is the problem. I still have to check
because it's a rather complicated thing. But I think the 'Sending TCP
packet' is done from in the OnSessionClosed event handler. I think it
then can come into the TryToSend, generating the second OnSessionClosed.

---
Rgds, Wilfried [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
http://www.mestdagh.biz

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to