Indicates if the IOHandler is ready to perform input operations.
function Readable( AMSec: integer = IdTimeoutDefault ): Boolean; override;
Boolean - True when the IOHandler is ready and a timeout has not occurred.
AMSec indicates the number of Milliseconds to wait for the IOHandler to be ready for input operations. The default value is IdTimeoutDefault.
If a previous message termination sequence (CRLF.CRLF) has not been read from the stream data source, the inherited Readble method is called, and the return value for the method is set to True.
The return value for the method is False when the ReceiveStream is unassigned, or the message termination sequence has been previously read from the stream data source.
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.