Markus Humm wrote:

> I've got a TWSocket with a TCP connection to some server.
> Now how to find out if the connection got broken and if, how to
> reestablish it?

The only reliable way to detect a broken connection is to send or
receive something. Then if the connection is gone OnSessionClosed
will fire, and from there start your timer to reconnect.

-- 
Arno Garrels
--
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