Internet Direct (Indy) Version 9.0.1 Beta
TIdSocketHandle.Reset
Restores the socket handle to an uninitialized state.

procedure Reset(const AResetLocal: boolean);
Parameters
const AResetLocal: boolean = True
Indicates that IP and Port are cleared for the connection.

Description
Reset is a procedure used to insure that TIdSocketHandle is in an uninitialized state. Reset clears the following properties to their uninitialized values:

When aResetLocal is True, the IP and Port for the socket descriptor are reset to the following values:

Reset is called from Create and CloseSocket.