System.Win.ScktComp.TCustomServerSocket.SetOnClientEvent
Delphi
procedure SetOnClientEvent(Index: Integer; Value: TSocketNotifyEvent);
C++
void __fastcall SetOnClientEvent(int Index, TSocketNotifyEvent Value);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | System.Win.ScktComp.pas System.Win.ScktComp.hpp |
System.Win.ScktComp | TCustomServerSocket |
Description
Sets the client event handlers of the associated TServerWinSocket object.
Applications cannot call this protected method. SetOnClientEvent sets the various event handlers that respond to events from the server endpoint of a client connection. Server socket components use TServerWinSocket to implement these events.