Topic Path: Symbol Reference > Classes > TIdSocketList Class > TIdSocketList Methods > SelectReadList Method
ContentsIndexHome
PreviousUpNext
TIdSocketList.SelectReadList Method
function SelectReadList(
    var VSocketList: TIdSocketList; 
    const ATimeout: Integer = IdTimeoutInfinite
): Boolean; virtual; abstract;
Parameters 
Description 
VSocketList 
Socket list with the readable socket handles.
 
ATimeout 
Timeout value for the Select() API call. 

Boolean - True when the socket list contains a socket handle for reading.

SelectReadList is an abstract virtual Boolean function that specifies the method used to populate the socket list in VSocketList with the socket handles ready for reading. 

SelectReadList uses the Select() and fd_set() APIs for a protocol stack implementation to populate the socket handle list. 

SelectReadList returns True when the socket list contains at least one socket handle available for reading. 

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

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