[英]How can i find all network devices without Bonjour?
I writing a mac application and i need to discover other Macs/PCs/iPhones/iPads connected to the same WIFI network. 我写了一个mac应用程序,我需要发现连接到同一个WIFI网络的其他Mac / PC / iPhone / iPad。
Bonjour seems to be the most reasonable choice, but it turned out that it has problems on many types of routers (on mine for example, is not working as it blocks Bonjour services). Bonjour似乎是最合理的选择,但事实证明它在许多类型的路由器上都存在问题(例如,我的路由器无法阻止Bonjour服务)。
I just need to find iPs of devices, then i will try to connect to an application-specific port to determine if my process is running there. 我只需要找到设备的iP,然后我将尝试连接到特定于应用程序的端口,以确定我的进程是否在那里运行。
What is the best approach to accomplish this task, without violating the App store Sandboxing? 在不违反App Store Sandboxing的情况下,完成此任务的最佳方法是什么?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.