Internet Direct (Indy) Version 9.0.2 Beta
TIdIOHandler.Readable
Indicates when the input/output source is ready.

function Readable(AMSec: Integer): Boolean; virtual; abstract;
Parameters
AMSec: Integer = IdTimeoutDefault
Milliseconds to wait for an the input/output source to become available. Default value is IdTimeoutDefault.

Returns
Boolean - True when the input/output source is ready.

Description
Readable is an abstract virtual Boolean function that indicates when the input/output source for the IO handler is ready to perform the desired operation. Descendant classes must override this method to indicate when the underlying socket handle or stream is available.