On Dec 6, 2007, at 05:29, Francois Piette wrote:

> Make sure all connections are closed/aborted before freeing the server
> object.

According to the TWSocketThrdServer code, this is what it does in its 
destructor...

> And as usual, at the application level don't store a reference to a
> connection object because that reference may become invalid when the 
> object
> is freed.

I don't.

> If you need to store a reference somewhere, then you must code a
> notification mechanism, probably from the destructor of your client 
> class.

Yes.

        dZ.

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

Reply via email to