procedure Event(Socket: TCustomWinSocket; SocketEvent: TSocketEvent); dynamic;
DYNAMIC void __fastcall Event(TCustomWinSocket* Socket, TSocketEvent SocketEvent);
Triggers an OnSocketEvent event.
Event is called automatically when the Windows socket object receives notifications or when it performs certain actions. It generates the OnSocketEvent event. When overriding this method, be sure to call the inherited method, because socket components rely on the OnSocketEvent event to generate many of their own events. The Socket parameter indicates the Windows socket that generates or receives notification of the event. The SocketEvent parameter indicates the event that occurred.