getMAC Addresse from a Pocket PC 's IP

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
 
P

Paul G. Tobey [eMVP]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top