Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Jan : Re: Disconnect all connections?

www.cryer.info
Managed Newsgroup Archive

Re: Disconnect all connections?

Subject:Re: Disconnect all connections?
Posted by:"York" (offi..@onlinebg.info)
Date:Fri, 13 Jan 2006 08:38:47

Thanks Remy,
You are right. There was some blocking.

"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message
news:43c4e02c$1@newsgroups.borland.com...
>
> "York" <office@onlinebg.info> wrote in message
> news:43c4b56d@newsgroups.borland.com...
>
> > After calling the procedure below (indy 9 version) to close
> > all the connections later when I call idTCPServer1.Active := False
> > I get a Terminate Thread Timeout error message.
>
> The only way that can happen is if the threads are not terminating
properly.
> Since you are manually disconnecting the sockets, the only possibility is
if
> the threads have become deadlocked beforehand.  Please show your actual
> server code.
>
>
> Gambiot

Replies:

none

In response to:

www.cryer.info
Managed Newsgroup Archive