Determines if a socket handle is available for reading and writing.
function Select( ATimeout: Integer = IdTimeoutInfinite ): Boolean;
Boolean - True when the socket handle is selected for reading and writing.
Select is a Boolean function that indicates if the protocol stack socket handle is available for reading and writing.
ATimeOut is the number of milliseconds that the protocol stack should wait for completion of the operation.
Select calls the Select API in GStack to access the protocol stack routines that make the socket descriptors available in the select read list.
On successful compeletion of the method, TIdAntiFreezeBase.DoProcess is called to force an idle state in the main thread of execution, and to allow message processing for other threads of execution.
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.