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

Create a duplicate copy of socket handles in the list.

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.

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