System.Win.ScktComp.TServerClientThread.Event
Delphi
procedure Event(SocketEvent: TSocketEvent); virtual;
C++
virtual void __fastcall Event(TSocketEvent SocketEvent);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | System.Win.ScktComp.pas System.Win.ScktComp.hpp |
System.Win.ScktComp | TServerClientThread |
Description
Generates an OnSocketEvent event for the associated server socket.
TServerClientThread assigns the Event method as an event handler for the OnSocketEvent method of the associated TClientWinSocket object. This allows events generated by the client to trigger client events on the server socket.
Warning: Event is not thread-safe. It should not be called from the server client thread. It is only intended for use by the associated client socket, which is not local to the server client thread.