[twsocket] TWsocketserver application - Broken link

2010-03-22 Thread Olivier BERTHELOT
Hi, I would like to know how to detect a client's broken link in an TWsocketserver application. Not a closed connection but really a broken one. For exemple the BrokenLink procedure below doesn't add anything in the Tlistbox1 when the connection is down. ** ** TMyClient = class(TWSocketClient)

Re: [twsocket] TWsocketserver application - Broken link

2010-03-22 Thread Angus Robertson - Magenta Systems Ltd
I would like to know how to detect a client's broken link in an TWsocketserver application. Not a closed connection but really a broken one. An idle TCP connection does not send any data, so you will not know it's broken until it times out failing to send data. You can enable keep alive to