How to get from Mac to IP address ?
Scenario:
--Multi-homed xp/w2k3 machine.
--some interface could be disabled
--some interface could have the cable disconnected, etc.
Using GetIfTable() I can find which interface is operational. Using a
MIB_IFROW, I can match the MAC addr of what I find from GetIpNetTable, but
the ip addresses there are not matching....
Objective: Programmatically find an operational interface in a multi-homed
host, and get the ip for it already assigned ( by dhcp or static )...
Any help?
-pro
|