Unfortunately it doesn't.  The application will not close down cleanly.  The
thread remains running and the following DLLs are left running:

WTSAPI32.dll
WINSTA.dll
NETAPI.dll

Should I be using ClientWinSocket instead?

JohnB 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Arno Garrels
Sent: 03 October 2006 12:28
To: Borland's Delphi Discussion List
Subject: Re: TClientSocket problems

John Barrat wrote:
> I am using Delphi 2006 and XP Pro.
> 
> I have built an app using the TClientSocket component in non-blocking 
> mode.
> 
> To support non-blocking, the component creates a thread first time it 
> is opened, however, it does not seem to release this thread when it is 
> closed.
> 
> 
> Can anyone advise on how to get the component to release this thread 
> or do I have to abandon the non-blocking approach and set it up in a 
> thread in blocking mode.  If that is the case what is the point of 
> even supporting non-blocking in the component.

This probably is the thread the system creates internally for non-blocking
sockets, very normal, it should terminate when your application exits. 

Arno Garrels
_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi


_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to