Topic Path: Symbol Reference > Classes > TIdIOHandler Class > TIdIOHandler Methods > Close Method
TIdIOHandler.Close Method

Closes the IO handler and associated Intercepts and transports.

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.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.