Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Sep : Re: TIdTCPServer shutdown
| Subject: | Re: TIdTCPServer shutdown |
| Posted by: | "Remy Lebeau (TeamB)" (no.spam@no.spam.com) |
| Date: | Thu, 13 Sep 2007 18:28:23 |
"Toby Piper" <news@CompCraft.com> wrote in message
news:46e9d870$1@newsgroups.borland.com...
> How do I force a TCPServer shutdown?
Simply set its Active property to false.
> From the help it would appear that all I should have to do
> is set Active to false and it will cleanup.
Yes.
> However that just causes the application to hang.
Then you are likely deadlocking your server's event handlers. Please show
your actual code.
Gambit