Internet Direct (Indy) Version 9.0.2 Beta
TIdTCPConnection.DisconnectSocket
Closes the socket binding for the connection.

procedure DisconnectSocket; virtual;
Description
DisconnectSocket is a procedure used to close the socket binding for the connection. Unlike the Disconnect method, DisconnectSocket is not overridden by descendant classes to provide termination sequences required for a particular protocol.

DisconnectSocket is used when an error has occurred in a protocol handler and a guaranteed disconnect is needed.