Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 May : Re: Best way to shut down server app
| Subject: | Re: Best way to shut down server app |
| Posted by: | "Remy Lebeau (TeamB)" (no.spam@no.spam.com) |
| Date: | Fri, 19 May 2006 15:59:43 |
"John Carlyle-Clarke" <jpcc@removethis.bigfoot.com> wrote in message
news:Xns97C8F14A8632Ediscombobulation@207.105.83.66...
> I assume it's normal to receive an EIdException "Not Connected"
> from the waiting ReadLn call in the server's Execute event at this point?
Yes. Disconnecting the socket from one thread is the only way to abort a
blocking operation that is running in another thread.
Gambit
none