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?

My current attempt is in the sending routine of mine, if not everything
could be sent the connection is believed to be broken and it is closed
on TWSocket. Also a timer is started which on expiry tries to connect
simply via calling connect. But I always get a exception telling me that
I can't connect connect on some already connected connection? Huh, but
OnSessionClosed already fired?


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