Running a wireless ad-hoc network from an osx machine, can I programmatically access level 2 data (specifically mac address) of other wifi devices within range?
closed as off topic by WesleyDavid, EEAA, Ward, Scott Pack, mailq Dec 28 '11 at 20:44
Questions on Server Fault are expected to relate to professional server, networking, or related infrastructure administration within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.
You could interrogate the ARP table. The is not a guaranteed method, but it's a fairly reliable way of mapping IP addresses to MAC addresses for active machines.