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

Indicates the number of socket handles stored in the list.

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.

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