Hello Mitchell,

> Does it seem reasonable that the Release call in Disconnect should be
> changed to a Close or CloseDelayed, and the Release in SessionClosed
> remain?

If you wants to destroy from within an event handler then call Release.
Yes it indeed post a message to destroy it outside the event handler.
You do not need to close it first.

Same for CloseDelayed, it call Close in an event handler. But you use
UDP so no need to Close as only TCP is session related.

Rgds, Wilfried [TeamICS]

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