Newsgroups : Borland : borland.public.delphi.internet.winsock : 2005 Aug : Indy Server and disconnected clients

www.cryer.info
Managed Newsgroup Archive

Indy Server and disconnected clients

Subject:Indy Server and disconnected clients
Posted by:"keyser" (keyser_so..@usa.com)
Date:2 Aug 2005 12:06:06

Indy 9 and Delphi 7:

I have a TidTCPServer component on the server and a TidTCPClient
on the client.

I was working with the client today and was killing it over and
over from the debugger so that it never did it's correct
disconnect routine.  I noticed that the server is still tracking
these connections and has a thread allocated to each.

Will the server eventually detect the other side of the
connection is gone and stop the thread?  If not, what can I do
so that I don't find a number of server connections which are no
longer connected to clients?

Thanks.

Replies:

www.cryer.info
Managed Newsgroup Archive