Internet Direct (Indy)
Home
PreviousUpNext
TIdSocketListWindows.Count Method

Indicates the number of socket handles stored in the list.

Pascal
function Count: Integer; override;

Integer - Number of socket handles in the list.

Count is an overridden Integer function that implements the method used to determine number of socket handles stored in the list. 

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

The return value for the method is the current count of socket descriptors in the set.

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.