Internet Direct (Indy) Version 9.0.2 Beta
TIdIOHandlerSocket.Connected
Indicates if the physical connection for the handler is prepared and opened.

function Connected: Boolean; override;
Returns
Boolean - True when the handler connection is prepared and opened.

Description
Connected is an overriden Boolean function in TIdIOHandlerSocket that implements the method used to determine when the physical connection for the handler has been established, and is available for input/output operations.

Connected will indicate when the socket handle in Binding has been assigned and allocated.

Use Open to prepare the physical connection for the handler, and ConnectClient to establish the connection used by the handler.