Internet Direct (Indy)
Home
PreviousUpNext
TIdSocketList.Lock Method

Acquires a critical section to protect resources in the socket list.

Pascal
procedure Lock;

Lock is a procedure used to acquire a critical section that protects access to resources in the socket list in a multi-threaded application. 

Use Unlock to release the critical section after peforming an action to update the contents of the socket list.

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.