RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomServerSocket.OnThreadEnd Event

Occurs when a client socket connection is terminated and the associated thread finishes execution.

Pascal
property OnThreadEnd: TThreadNotifyEvent;
C++
__property TThreadNotifyEvent OnThreadEnd;

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. 

 

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