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

Adds a socket handle to the container.

procedure Add(
    AHandle: TIdStackSocketHandle
); override;
Parameters 
Description 
AHandle 
Socket handle to add to the container. 

Add is an overridden procedure in TIdSocketListLinux that implements the abstract method from the ancestor class. 

Add calls the Linux API function FD_SET to ensure that the socket handle in AHandle is included in the current read, write, and exception descriptors. 

Use Remove to delete a socket handle from the socket handle container. 

Use Items for read access to existing socket handles in the list.

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