Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Oct : Re: TIdTCPServer not shutting down
| Subject: | Re: TIdTCPServer not shutting down |
| Posted by: | "Remy Lebeau (TeamB)" (no.spam@no.spam.com) |
| Date: | Wed, 4 Oct 2006 15:31:17 |
"Jamie Dale" <j.dale@turboz.net> wrote in message
news:45242ac7@newsgroups.borland.com...
> Sounds like it is probably because you still have a client
> using an active thread.
That by itself is not a problem, as the server will close the socket before
then signaling the threads to terminate. The problem only occurs when one
or more threads do not actually terminate themselves properly.
> I don't know if Indy disconnects clients automatically
Yes, it does.
> go through the ThreadList and disconnect them all one by one.
The server already does exactly that.
Gambit
none