RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TServerSocketThread Class

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

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

Sockets

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

 

Writing Multi-threaded Applications 

TClientSocketThread 

TThread

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