Internet Direct (Indy)
Home
PreviousUpNext
TIdIOHandlerStream.Readable Method

Indicates if the IOHandler is ready to perform a read request.

Pascal
function Readable(
    AMSec: integer = IdTimeoutDefault
): boolean; override;
Parameters 
Description 
AMSec 
Number of milliseconds to wait for an IOHandler connection to become ready for a read operation. 

Boolean - True when the connection is ready for the IO request.

Readable is an overridden Boolean function that indicates if the IOHandler is ready to perform an IO request. 

AMSec indicates the number of milliseconds to wait for the IOHandler connection to become ready for the read operation. 

The return value for the method is True when ReceiveStream has been assigned a valid stream instance, and the stream is not positioned at its end.

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.