Internet Direct (Indy) Version 9.0.2 Beta
TIdConnectionIntercept.Disconnect
Responds to socket disconnection notifications.

procedure Disconnect; virtual;
Description
Disconnect is a procedure that allows TIdConnectionIntercept to respond to notification the socket connection is Binding is closing.

Disconnect is a virtual method that sets the value of Binding, assigned in the Connect method, to Nil. Clearing the reference in Binding will prevent further socket notifications to the socket handler.

TIdConnectionIntercept descendants should implement Disconnect to perform the operations appropriate to the socket handler.