Topic Path: Symbol Reference > Classes > TIdSocketListWindows Class > TIdSocketListWindows Methods > Clear Method
ContentsIndexHome
PreviousUpNext
TIdSocketListWindows.Clear Method

Removes all socket handles stored in the list.

procedure Clear; override;

Clear is an overridden procedure that implements the interface used to remove all socket handles stored in the list. 

Clear calls Lock to protect access to the socket handles in the list during the operation, and calls Unlock prior to exiting from the method. 

Clear uses the fd_zero() API call from the protocol stack implementation to release socket handles in the set of socket descriptor.

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