Re: Which IP address belongs to which MAC address?
- From: "Heinrich Wolf" <invalid@xxxxxxxxxxxxxxx>
- Date: Tue, 21 Nov 2006 07:52:02 +0100
Hello,
for each IP pass its dotted value in the argument
NCB_CallName of NCBASTAT.
Then you will get the corresponding MAC address.
Regards
Heiner
<Erwin.Ahlers@xxxxxxxxxx> schrieb im Newsbeitrag
news:1164060723.542694.159360@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello,
I got all my IP addresses with the function gethostbyname(hostname),
where hostname is received with gethostname. That works well.
I get the MAC addresses with some netbios functions: NCBENUM, NCBASTAT
But is not the order of the received IP addresses identical to the
order of the MAC addresses?
Or is there another way to the my local values and which belongs to
which?
Regards
Erwin
.
- Follow-Ups:
- Re: Which IP address belongs to which MAC address?
- From: Erwin . Ahlers
- Re: Which IP address belongs to which MAC address?
- References:
- Which IP address belongs to which MAC address?
- From: Erwin . Ahlers
- Which IP address belongs to which MAC address?
- Prev by Date: Re: Have you tried recursion with Ackerman?
- Next by Date: Gmail
- Previous by thread: Which IP address belongs to which MAC address?
- Next by thread: Re: Which IP address belongs to which MAC address?
- Index(es):
Relevant Pages
|