Event handler signalled for a change of IP address on an adapter in the local system.
TIdIPAddrMonEvent = procedure (ASender: TObject; AAdapter: Integer; AOldIP, ANewIP: string) of object;
Parameters |
Description |
ASender |
Component generating the event notification. |
AAdapter |
Adapter index for the event. |
AOldIP |
Previous IP address for the network adapter. |
ANewIP |
New IP address for the network adapter. |
TIdIPAddrMonEvent is a type used for event handler procedures that represents the signalled when a change is detected an IP address for an adapter in the local system.
ASender is the component generating the event notification.
AAdapter is the ordinal index for the network adapter affected. AAdapter is theindex into the IPAddresses property for the TIdAddrMon component.
AOldIP is the previous IP address (when known) assigned for the network adapter. An unknown IP address is indicated by the value "<unknown>".
ANewIP is the new IP address (when known) assigned for the network adapter. An unknown IP address is indicated by the value "<unknown>".
TIdIPAddrMonEvent is the type used to implement the TIdAddrMon.OnStatusChanged event handler.
Applications must assign a procedure to the event handler to allow responding to the event notification.
TIdAddrMon.OnStatusChanged TIdAddrMon.IPAddresses
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. |