Internet Direct (Indy)
Home
PreviousUpNext
TIdSocketHandles Class

Implements a collection for socket handles.

Pascal
TIdSocketHandles = class(TIdOwnedCollection);

TIdSocketHandles is a TOwnedCollection descendant that implements a collection for TIdSocketHandle objects. TIdSocketHandles is most often used in servers as a container for the Bindings allocated by the server for client conenctions or listener threads. 

TIdSocketHandles contains the DefaultPort number to assign to new TIdSocketHandle instances added to the collection. 

TIdSocketHandles reintroduces the Create constructor to use an Owner for the collection, and eliminates the item class for the collection. TIdSocketHandles also creates TIdSocketHandle instances as members of the collection. 

TIdSocketHandles defines convenience properties and methods that allow accessing members of the collection by their socket handle, or as an indexed TIdSocketHandle property.

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.