Internet Direct (Indy)
Home
PreviousUpNext
TIdSocketListLinux.Clone Method

Create a duplicate copy of socket handles in the list.

Pascal
function Clone: TIdSocketList; override;

TIdSocketList - List of duplicated socket handles.

Clone is an abstract virtual TIdSocketList function that specifies the interface used to create a duplicate copy of the socket descriptors stored in the list. 

Clone must be implemented in a descendant class using a protocol stack implementation for a specific operating system or platform. 

Use Lock to protect resources in the current socket list prior to cloning socket descriptors. Use Unlock to free the resource protection used during the operation.

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.