1

I am creating an app in which I have to show all the devices which are connected on a particular wi-fi network. I have all the IP addresses which are connected to wi-fi. Can anyone please help me out in how to find out the mac address/ device name from an ip address of all the connected devices ...

iGautam
  • 121
  • 3
  • 9
  • What have you tried so far? What is not working? Have you checked if there is any Apple example code? – Robotic Cat Jun 10 '14 at 17:09
  • For the MAC address you can examine the ARP table - this question may help http://stackoverflow.com/questions/10395041/getting-arp-table-on-iphone-ipad. For device name, it is harder - you can try DNS but on a typical home wifi it probably won't help – Paulw11 Jun 10 '14 at 22:06
  • @Paulw11, I already tried this link, but not working. getting error at same place i.e sdl = (struct sockaddr_dl *)(sin + 1); – iGautam Jun 11 '14 at 09:10

0 Answers0