Topic Path: Symbol Reference > Classes > TIdIOHandler Class > TIdIOHandler Methods > Open Method
ContentsIndexHome
PreviousUpNext
TIdIOHandler.Open Method

Prepares the IOHandler for subsequent read and write requests.

procedure Open; virtual;

Open is a virtual procedure used to allocate buffers and reset state properties used in IOHandler methods that perform Send and Receive operations. 

Open recreates the receive buffer used when reading data from the transport for the IOHandler. Open also creates the InputBuffer used as internal storage for unhandled data read from the transport for the IOHandler. 

Open sets ClosedGracefully to False and Opened to True. 

Use Close to free resources allocated to the receive buffer and InputBuffer.

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