Reputation: 159
Is it possible to find the MAC address of all other wifi enabled device in a wifi network programmatically by using C or C++, if so then please tell me the way or direction, how can i do that Visual Studio 2012.
Upvotes: 4
Views: 1094
Reputation: 56479
If they are in same LAN next to your device (no router/switch in the middle, The scope of ARP is link-layer.) you should use sending ARP packets to devices.
Address Resolution Protocol (ARP) is a telecommunications protocol used for resolution of network layer addresses into link layer addresses.
To send ARPs you can use Pcap or SendARP.
Upvotes: 2