Internet Direct (Indy)
Home
PreviousUpNext
TIdIOHandler.Close Method

Closes the IO handler and associated Intercepts and transports.

Pascal
procedure Close; virtual;

Close is a virtual procedure in TIdIOHandler. Close ensures that an assigned Intercept for the connection is also disconnected when the IO handler is closed. 

Close sets the value in the Opened property to False. 

Close may be overidden in descendant classes when the transport requires special handling during closing of the connection. 

Use Open to reset the IOHandler and open the receive and InputBuffer for the IOHandler.

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.