Topic Path: Symbol Reference > Classes > TIdSocketListWindows Class > TIdSocketListWindows Methods > GetFDSet Method
ContentsIndexHome
PreviousUpNext
TIdSocketListWindows.GetFDSet Method

Store the socket handles in the list to a socket descriptor set.

procedure GetFDSet(
    var VSet: TFDSet
);
Parameters 
Description 
VSet 
Socket descriptor set used to store the handles in the socket list. 

GetFDSet is a procedure used to access the fd_set() API for the protocol stack implementation. GetFDSet populates the socket descriptor set in VSet with the current value in the socket descriptor set for the socket list. 

GetFDSet calls Lock to protect access to the socket list during the copy operation, and calls Unlock to free the resource protection prior to exiting from the method. 

GetFDSet store the current socket descriptor set for the list to the value in VSet. 

Use SetFDSet to store a socket descriptor set in a socket list.

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