Internet Direct (Indy) Version 9.0.2 Beta
TIdIOHandlerSocket.Readable
Indicates that the socket handle is ready to read data.

function Readable(AMSec: integer): boolean; override;
Parameters
AMSec: integer = IdTimeoutDefault
Milliseconds to wait for the socket connection to become ready. Default value is IdTimeoutDefault.

Returns
Boolean - True when ready.

Description
Readable is an overidden Boolean function that indicates if the socket handle in Binding is ready for input operations. Readable uses Binding to call the Readable method in the TIdSocketHandle object property with the value specified in AMSec.

Use Recv to perform the input operation using the socket handle in Binding.