Internet Direct (Indy)
Home
PreviousUpNext
TIdSocketListLinux.Count Method

Indicates the number of socket handles in the container.

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

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.