Internet Direct (Indy)
Home
PreviousUpNext
TIdIPAddrMon.ForceCheck Method

Manually invokes the CheckAdapters method without executing the Thread for the component.

Pascal
procedure ForceCheck;

ForceCheck is a procedure used to manually invoke the CheckAdapters method without executing the Thread for the component. ForceCheck calls the CheckAdapters method using Nil as the thread controlling the action. 

Calling ForceCheck causes the current IPAddresses for the local system to be filled and examined. This also causes the OnStatusChanged event handler to be fired when changes to the IPAddresses are detected. 

Use ForceCheck to collect the current IPAddresses for thelocal system prior to setting Active to True, and executing the Thread for the component.

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.