for my project i have to fetch all devices name & their ip address which are connected in same network. How to get the names and ips of all devices on my local network? somewhat similar to post but i have to use c code & this post is for ios only.
I know that ARP protocol use to map ip address with the mac address but exactly don't know how to scan all the ip's from there. My aim is to get the output without any command line tool as nmap & arp command are also there which will give the network ip addresses but not in a proper way. Can anybody tell me the way i can get all these details with or without code that would be really helpful.
Thanks,