dotpcap / sharppcap

Official repository - Fully managed, cross platform (Windows, Mac, Linux) .NET library for capturing packets
1.31k stars 267 forks source link

Cannot ARP resolve the local computer #19

Closed tom-2015 closed 7 years ago

tom-2015 commented 7 years ago

I've tried the ARP resolve example and it works for resolving the IP of other devices on the network. It fails to resolve the IP of the computer that's running the code/program. Windows 10 64bit, using npcap 0.82. Any ideas?

chmorgan commented 7 years ago

Does it also fail on other versions of windows?

tom-2015 commented 7 years ago

Don't know, only tested on Windows 10

chmorgan commented 7 years ago

Sounds like it could be OS related though if it works on other computers. Why not use normal network interface APIs to find the local network interface IPs?

chmorgan commented 7 years ago

Without any additional information why this might occur or how to resolve it I don't see a path forward here. It may be something fundamental about the network stack on Windows. Please reopen if you have some ideas how to proceed as it isn't Sharppcap that is filtering these packets out.