You can't do much against a "reset" button !
The client will only now the connection is broken when it tries to write some 
data.
You may implement a keep-alive mechanism: the client periodically send 
something to the server to
check if it is still alive.
--
[EMAIL PROTECTED]
Author of ICS (Internet Component Suite, freeware)
Author of MidWare (Multi-tier framework, freeware)
http://www.overbyte.be


----- Original Message ----- 
From: "George" <[EMAIL PROTECTED]>
To: <twsocket@elists.org>
Sent: Thursday, June 09, 2005 8:11 PM
Subject: [twsocket] Detect disconnection after reset


> Hello,
>
> I have a client server application. Server side written with Indy and Client 
> using TWSocket with
ICS.
> Everything is fine but I have a small problem.
>
> If I press the "reset" button of the server case the client doesnt disconnect.
>
> Can you please advice me how can I bypass this?
>
> Thanks
> George
> -- 
> 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
>


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