procedure Event(Socket: TCustomWinSocket; SocketEvent: TSocketEvent); override;
virtual void __fastcall Event(TCustomWinSocket* Socket, TSocketEvent SocketEvent);
Dispatches the events that occur in the normal operation of the socket to the appropriate event handlers.
Applications cannot call Event. It is called automatically when various events occur. Override Event to introduce class-specific responses when certain events occur or to prevent the socket from calling the associated event handler.