System.Win.ScktComp.TServerSocket.OnThreadStart
Delphi
property OnThreadStart: TThreadNotifyEvent read GetOnThreadStart write SetOnThreadStart;
C++
__property OnThreadStart;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | System.Win.ScktComp.pas System.Win.ScktComp.hpp |
System.Win.ScktComp | TServerSocket |
Description
Occurs when the execution thread for a connection to a client socket starts up.
System.Win.ScktComp.TServerSocket.OnThreadStart inherits from System.Win.ScktComp.TCustomServerSocket.OnThreadStart. All content below this line refers to System.Win.ScktComp.TCustomServerSocket.OnThreadStart.
Occurs when the execution thread for a connection to a client socket starts up.
Write an OnThreadStart to initialize the TServerClientThread for the connection to a single client socket. The Sender parameter is the TServerWinSocket that describes the server endpoint of the listening connection. The Thread parameter is the thread that is about to start execution.