Newsgroups : Borland : borland.public.delphi.internet.winsock : 2005 Feb : Indy 9 TCP server doesn't recognize client disconnection
| Subject: | Indy 9 TCP server doesn't recognize client disconnection |
| Posted by: | "Amit Zohar" (am..@roseman.co.il) |
| Date: | Wed, 23 Feb 2005 10:24:39 |
Hi.
I'm using a TIdTcpServer. When the client connects I open an TIdPeerThread.
The tread works fine and can disconnect the socket (from the server side),
but when the client disconnects there is no property or exception that
detects this. I tried connection.connected, connection.socket.connected,
connection.closedgracefully.
Please advice, Amit.