Show: Delphi C++
Display Preferences

System.Win.ScktComp.TClientSocket.OnDisconnect

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnDisconnect: TSocketNotifyEvent read FOnDisconnect write FOnDisconnect;

C++

__property OnDisconnect;

Properties

Type Visibility Source Unit Parent
event published
System.Win.ScktComp.pas
System.Win.ScktComp.hpp
System.Win.ScktComp TClientSocket

Description

Occurs just before a client socket closes the connection to a server socket.

System.Win.ScktComp.TClientSocket.OnDisconnect inherits from System.Win.ScktComp.TCustomSocket.OnDisconnect. All content below this line refers to System.Win.ScktComp.TCustomSocket.OnDisconnect.

Occurs just before a client socket closes the connection to a server socket.

Write an OnDisconnect event handler to take specific action when the connection to a server socket is about to be terminated. OnDisconnect occurs after the value of the Active property is set to false, but before the actual connection is closed.

See Also

Personal tools
In Other Languages
Previous Versions
Assistance