RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TClientSocketThread Class

Enables creation of separate threads of execution for the client socket in an application.

Pascal
TClientSocketThread = class(TThread);
C++
class TClientSocketThread : public TThread;

Sockets

Create a TClientSocketThread (or a descendant of the class) to represent an execution thread for the client socket in a multi-threaded application. Each new instance of TClientSocketThread, a TThread descendant, is a new thread of execution. Using a separate TClientSocketThread allows the client socket to block without blocking the whole application. 

 

Writing Multi-threaded Applications 

TServerSocketThread 

TThread

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!