System.Win.ScktComp.TServerSocket.OnThreadEnd
Delphi
property OnThreadEnd: TThreadNotifyEvent read GetOnThreadEnd write SetOnThreadEnd;
C++
__property OnThreadEnd;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | System.Win.ScktComp.pas System.Win.ScktComp.hpp |
System.Win.ScktComp | TServerSocket |
Description
Occurs when a client socket connection is terminated and the associated thread finishes execution.
System.Win.ScktComp.TServerSocket.OnThreadEnd inherits from System.Win.ScktComp.TCustomServerSocket.OnThreadEnd. All content below this line refers to System.Win.ScktComp.TCustomServerSocket.OnThreadEnd.
Occurs when a client socket connection is terminated and the associated thread finishes execution.
Write an OnThreadEnd to take specific action when the thread for a client connection finishes execution. OnThreadEnd occurs after the OnClientDisconnect event.
The Sender parameter is the TServerWinSocket that describes the server endpoint of the listening connection. The Thread parameter is the thread that is finishing up.