API: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. {{#multireplace:System.Win.ScktComp.TServerSocket.OnThreadStart|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:System.Win.ScktComp.TCustomServerSocket.OnThreadStart|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:System.Win.ScktComp.TCustomServerSocket.OnThreadStart|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
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.