Topic Path: Symbol Reference > Classes > TIdIPAddrMon Class > TIdIPAddrMon Properties > Thread Property
ContentsIndexHome
PreviousUpNext
TIdIPAddrMon.Thread Property

Represents the thread used to poll for changed IP addresses.

property Thread: TIdIPAddrMonThread;

Thread is a read-only TIdIPAddrMonThread property that represents the thread used to poll for changes to IP addresses assigned to network adapters in the local system. 

Thread also provides a method to trigger the OnStatusChanged event handler when IP addresses are changed for network adapters in the local system. 

Thread is created and executed when Active is changed to True for the component. The executing Thread is terminated, freed, and released when Active is set to False. 

Set Interval to specify the elapsed time during polling for changes, and between executions of the polling mechanism. 

Set OnStatusChanged to indicate the processing required for the application when an IP address is changed (added or removed) for one of the network adapters in the local system. 

Set Active to True to begin execution of the Thread using the preceeding values or event handler procedures.

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