Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Dec : Re: how to check connection?

www.cryer.info
Managed Newsgroup Archive

Re: how to check connection?

Subject:Re: how to check connection?
Posted by:"soonic" (xxsoon..@op.pl)
Date:Thu, 3 Jan 2008 01:24:34

>
> That is because you are deadlocking your code.  You are calling WaitFor()
> in the context of the reading thread.  The reading thread is waiting on
> itself. It will never be able to terminate that way.
>

Thank you again for help, the problem is solved :)

s.

Replies:

none

In response to:

www.cryer.info
Managed Newsgroup Archive