getMAC Addresse from a Pocket PC 's IP

  • Thread starter Thread starter mielmonster
  • Start date Start date
M

mielmonster

Hello,

I try to get the MAC Addresse of a Pocket PC which is connecting to a
web service with his IP address.

To do that, I use the SendARP() API from the iphlpapi.dll (I'm looking
for a better solution if you have one).

I get thje MAC Address when the client of my ws is a PC but not when it
is a Pocket PC.

I don't know why.
A strange thing is that the arping unix command sent to the Pocket PC 's
IP is getting the right MAC Address.

do you have any idea ?

thanks

Yannick
 
Give us a little more info. You are running this code on a PPC and trying
to get the MAC address of another PPC? Or the Web Service is running on a
PC and is using SendARP() to get the data, which it is then returning to its
WS client, which, when it's a PPC, gets the wrong answer? If it's this
last, I'd guess that your WS definition doesn't match the real Web Service.
How is it defined?

Paul T.
 
Back
Top