Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Apr : Re: Resolving IP from MAC address

www.cryer.info
Managed Newsgroup Archive

Re: Resolving IP from MAC address

Subject:Re: Resolving IP from MAC address
Posted by:"Remy Lebeau (TeamB)" (no.spam@no.spam.com)
Date:Fri, 14 Apr 2006 14:51:45

"MN" <martinn@porterlee.com> wrote in message
news:44401290$1@newsgroups.borland.com...

> Is there a way to resolve an IP if you only have the MAC
> address of the network card.

If the network card is installed on the same machine that is running the
code, then use the GetAdaptersInfo() function from the IP Helper API to find
the adapter with the same MAC address.  If you find a match, then you will
have its current IP addresses.  Refer to MSDN for more details.


Gambit

Replies:

none

In response to:

www.cryer.info
Managed Newsgroup Archive