简体   繁体   English

如何在没有Bonjour的情况下找到所有网络设备?

[英]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的情况下,完成此任务的最佳方法是什么?

ARP was the first answer which came to my mind. ARP是第一个出现在我脑海中的答案。 Does your network-setup allows this? 您的网络设置是否允许这样做?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 列出没有bonjour的wifi网络iOS SDK上所有设备的IP地址? - List all devices' IP Addresses on wifi network iOS sdk without bonjour? 如何获取网络中所有设备的名称和IP,或获取我连接的路由器IP? - How can I get the name and IP of all devices in my network or get the router IP that I am connected to? 如何使用Bonjour简化对iOS设备的寻址? - How can I simplify addressing an iOS device using Bonjour? 如何停止在 wifi 网络中搜索新设备的过程? - How can i stop the process of searching for new devices in wifi network? 如何获取本地网络上所有设备的名称和IP? - How to get the names and ips of all devices on my local network? 如何在多人Sprite Kit游戏中使所有设备具有相同的地图? - How can i make in a multiplayer sprite kit game all the devices have same map? 如何在iOS7中以编程方式找到连接3G网络或Wifi的iPhone设备 - How can i find programmatically iPhone device connected 3G network or Wifi in iOS7 我需要为所有iOS设备背景创建多少个图形? - How many graphics I need to create for all iOS devices background? 如何使用Cocoa Touch发现网络设备? - How to discover network devices with Cocoa Touch? 使用Bonjour在两个设备上的iOS应用程序中镜像命令 - Mirror commands in an iOS application on two devices using bonjour
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM