RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TServerClientThread.ServerSocket Property

Specifies the TServerWinSocket object that manages all the TServerClientThread objects for its client connections.

Pascal
property ServerSocket: TServerWinSocket;
C++
__property TServerWinSocket ServerSocket;

Use ServerSocket to get direct access to the listening Windows socket object that spawned the thread for a client connection it accepted. TServerClientThread passes events and errors to the appropriate event handlers assigned to ServerSocket. TServerClientThread adds itself to the cache of threads maintained by ServerSocket from its constructor, and removes itself when the thread terminates. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!