Internet Direct (Indy)
|
Closes a connection on a socket handle.
procedure Disconnect( ASocket: TIdStackSocketHandle ); override;
Parameters |
Description |
ASocket |
Socket handle for the operation. |
Disconnect is an overridden procedure that implements the method used to access the protocol stack API method used to close a connection on a socket handle.
ASocket is the socket handle to be affected by the operation.
On the .Net platform, the TIdStackSocketHandle.Close method is used to close the connection on the socket handle.
Exceptions occuring in the method are re-raised using either the EIdSocketError or EIdWrapperException exception types.
Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved. Website http://www.indyproject.org. Post feedback to the Indy Documentation newsgroup. |