Topic Path: Symbol Reference > Classes > TIdSocketListLinux Class > TIdSocketListLinux Methods > SelectRead Method
ContentsIndexHome
PreviousUpNext
TIdSocketListLinux.SelectRead Method

Indicates if socket handles are avaiable for reading.

function SelectRead(
    const ATimeout: Integer = IdTimeoutInfinite
): Boolean; override;
Parameters 
Description 
ATimeout 
Timeout value for the Select() API call. 

Boolean - True when a socket handle is available for reading.

SelectRead is an abstract virtual Boolean function that specifies the method used to access the Select() API for a protocol stack implementation. 

SelectRead is a convenience method used to indicate if there are readable socket handles for the protocol stack. SelectRead returns True when the list of socket handles ready for reading would contain a positive non-zero value. 

ATimeout indicates the number of milliseconds to wait for successful completion of the Select() API call. 

SelectRead must be implemented in a descendant class using the protocol stack and list implementation for a specific operating system or platform. 

Use Select or SelectReadList get the list of socket handles.

Select 

SelectReadList

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.