Internet Direct (Indy)
Home
PreviousUpNext
TIdSocketListWindows.GetFDSet Method

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

Pascal
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.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.