Internet Direct (Indy)
Home
PreviousUpNext
TIdSocketListWindows.Clear Method

Removes all socket handles stored in the list.

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

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.