Topic Path: Symbol Reference > Classes > TIdSocketListLinux Class > TIdSocketListLinux Methods > Count Method
ContentsIndexHome
PreviousUpNext
TIdSocketListLinux.Count Method

Indicates the number of socket handles in the container.

function Count: Integer; override;

Count is an overridden Integer function in TIdSocketListLinux the implements the abstract method from the ancestor class. Count indicates the numer of socket handles found in the current socket descriptors allocated using the Linux API. 

Count uses the Linux FD_ISSET API call to determine if each socket descriptor in __FD_SETSIZE is valid. The return value for Count indicates the total number of descriptors where FD_ISET is True. 

Use Items for read access to the current socket descriptors for the container.

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