Internet Direct (Indy)
Home
PreviousUpNext
TIdIOHandlerStream.Open Method

Prepares the stream-based IOHandler for subsequent read and write requests.

Pascal
procedure Open; override;

Open is an overridden procedure used to prepare the IOHandler for read and write operations. 

Open calls the inherited Open method. 

Open triggers the OnGetStream event handler, when it has been assigned, using ReceiveStream and SendStream as arguments. 

Set the value for StreamType in the OnGetStream event handler or the application creating the IOHandler. 

Use Close to disable the IOHandler for subsequent read or write operations.

TIdIOHandlerStream.OnGetStream 

TIdIOHandlerStream.StreamType 

TIdIOHandlerStream.Close

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.