Topic Path: Symbol Reference > Classes > TIdSocketList Class > TIdSocketList Methods > CreateSocketList Method
TIdSocketList.CreateSocketList Method

Creates a new instance of the socket list for a given platform.

class function CreateSocketList: TIdSocketList;

TIdSocketList - Socket list created in the alternate constructor.

CreateSocketList is a TIdSocketList class function used to create a new instance of a socket list using the class reference defined for a specific operating system or host platform. 

CreateSocketList is an alternate constructor, if you will, that isolates the host- or operating system-specific differences in the socket list implementation.

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