System.Win.ScktComp.TCustomSocket.Event

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Event(Socket: TCustomWinSocket; SocketEvent: TSocketEvent); override;

C++

virtual void __fastcall Event(TCustomWinSocket* Socket, TSocketEvent SocketEvent);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
System.Win.ScktComp.pas
System.Win.ScktComp.hpp
System.Win.ScktComp TCustomSocket

Description

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.

The Socket parameter indicates the Windows socket object that calls Event to indicate when specific events occur.

The SocketEvent parameter indicates the event that occurred.

See Also