Internet Direct (Indy)
Home
PreviousUpNext
TIdSocketListLinux Class

Collection used for a list of socket handles on the Linux platform.

Pascal
TIdSocketListLinux = class(TIdSocketList);

TIdSocketListLinux is a TIdSocketList descendant that represents the platform-specific socket handle container for the Linux platform. TIdSocketListLinux provides overridden methods to Add or Remove items in the list, and determine the container length. 

TIdSocketListLinux uses the Linux API for maintaining the current socket descriptors using FD_SET, __FD_SETSIZE, FD_ISSET, FD_ZERO, and FD_CLR. Items in the container are read dynamically from the current socket descriptors using Linux API calls. Reading an Item by it's ordinal position may return a socket handle of 0 if the descriptor is no longer selected in the Read, Write, or Exception socket descriptors. 

TIdSocketListLinux is the class type assigned to GSocketListClass in the initialization section of the IdStackLinux.pas unit.

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.