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: | "John Carlyle-Clarke" (jpcc@removethis.bigfoot.com) |
| Date: | 19 May 2006 15:42:32 |
"Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> wrote in
news:446e068a$1@newsgroups.borland.com:
> You should be calling Disconnect() instead:
>
> FContext.Connection.Disconnect;
>
> Or
>
> FContext.Connection.Disconnect(False);
>
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?