Internet Direct (Indy)
Home
PreviousUpNext
TIdSocketListLinux.Add Method

Adds a socket handle to the container.

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

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.