System.Win.ScktComp.TServerWinSocket.GetClientThread
Delphi
function GetClientThread(ClientSocket: TServerClientWinSocket): TServerClientThread;
C++
TServerClientThread* __fastcall GetClientThread(TServerClientWinSocket* ClientSocket);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Win.ScktComp.pas System.Win.ScktComp.hpp |
System.Win.ScktComp | TServerWinSocket |
Description
Returns the execution thread used by the client connection managed by the ClientSocket parameter.
Use GetClientThread to obtain access to the TServerClientThread for a particular client connection. GetClientThread allows an OnClient... event handler to access thread-global information saved in the Data property of the thread.