How to get list of active IP and MAC address in a subnet for osx
<p>I was writing an application in C code where i would require to get list of IP and MAC address of all devices active on the particular subnet(in particular wifi subnet).
i found a script file which does the same using nmap but this command line tool is not available in every machines(separate installation required).below is the script file location.</p>

<p><a href="https://apple.stackexchange.com/questions/19783/how-do-i-know-the-ip-addresses-of-other-computers-in-my-network">https://apple.stackexchange.com/questions/19783/how-do-i-know-the-ip-addresses-of-other-computers-in-my-network</a></p>

<p>is there any other way to achieve the above mentioned without time delay, sample code or command will help.</p>

<p>Thanks in advance.</p>

<p>I did lot of research and i found some answers in net but none of them are helping me to achieve the desired result.</p>