我需要一些帮助,如何检测使用bonjour连接的所有wifi设备,以及在mac应用程序上显示这些设备。示例应用程序将非常有用。如果没有,我可以继续完成任务的方向。
答案 0 :(得分:1)
一个好的起点是检查您是否可以使用http://www.tildesoft.com中的Bonjour浏览器查看设备。如果他们没有宣传某项服务,那么你就不会看到任何东西。
这里有关于如何发现Bonjour服务的基本描述: http://developer.apple.com/library/mac/#documentation/Networking/Conceptual/dns_discovery_api/Articles/browse.html#//apple_ref/doc/uid/TP40002486-SW1
要发现所有服务,请在此处查看此答案: How to get the list of all announced bonjour services on all available domains?