System.Win.ScktComp.TCustomWinSocket.Event

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

DYNAMIC 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 TCustomWinSocket

Description

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.

See Also