System.Win.ScktComp.TServerWinSocket.OnThreadStart

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnThreadStart: TThreadNotifyEvent read FOnThreadStart write FOnThreadStart;

C++

__property TThreadNotifyEvent OnThreadStart = {read=FOnThreadStart, write=FOnThreadStart};

Properties

Type Visibility Source Unit Parent
event public
System.Win.ScktComp.pas
System.Win.ScktComp.hpp
System.Win.ScktComp TServerWinSocket

Description

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 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.

See Also