RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TServerWinSocket.OnThreadStart Event

Occurs when the execution thread for a connection to a client socket starts up.

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

Write an OnThreadStart to initialize the TServerClientThread for the connection to a single client socket. The Sender parameter is the TServerWinSocket that received the client request. The Thread parameter is the thread that is about to start execution.

Note: The OnThreadStart event handler for TServerWinSocket is also set when setting the OnThreadStart event handler of the associated TServerSocket.
 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!