Frank Wunderlich wrote:
> Hi,
> i've trying to detect when a client is abnormal disconnected from the
> server (calling not the close-procedure). e.g. when the lan-cable is
> taken out. the client detects the disconnect,but the server don't call the
> OnClientDisconnect.
> How can i realize that?

You could check a 'last alive' time stamp stored in your client class.
Cleanup the client after a timeout has elapsed. Use a single Timer to
check all clients actually in the list in intervals.

Arno Garrels
> Greets frank
> --
> Geschenkt: 3 Monate GMX ProMail gratis + 3 Ausgaben stern gratis
> ++ Jetzt anmelden & testen ++ ++

To unsubscribe or change your settings for TWSocket mailing list
please goto
Visit our website at

Reply via email to