How can I find all network devices without Bonjour?

I am writing a Mac application and I need to open other Mac / PC / iPhones / iPads connected to the same WIFI network.

Bonjour seems to be the most reasonable choice, but it turned out that it has problems on many types of routers (for example, on mine, it does not work, because it blocks Bonjour services).

I just need to find the iPs of the devices, then I will try to connect to the application port to determine if my process works there.

What is the best approach to accomplish this without breaking Sandboxing from the App Store?

+5
source share
1 answer

ARP was the first answer that came to my mind. Does your network setup allow?

0

All Articles