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

Closes the IO handler and associated Intercepts and transports.

procedure Close; override;

Close is a overridden procedure used to ensure that an assigned Intercept for the connection is also disconnected when the IO handler is closed. 

Close calls the inherited Close method. 

Close also frees the stream instances assigned to ReceiveStream and SendStream when FreeStreams indicates that the IOHandler is the owner of the streams. 

Use Open to open the IOHandler and trigger the OnGetStreams event handler for initializing stream instances.

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