NSNetServiceBrowser to find any device on network

霸气de小男生 提交于 2019-12-11 11:27:42

问题


As per the title:

I am wondering how IOS is able to find devices on the network that are non-bonjour. Specifically I need to find a control device that will in the future have the appropriate Bonjour announce code but there are tons of these devices already out in consumers hands and firmware updates are not an option.

How then can I use Bonjour or NSNetServiceBrowser or some other library that is compatible with the apple store to discover on the network older devices?

IE - in android I pinged all available IPs on the network and read the arp table for the proprietary mac prefix. This is, as I understand, not allowed on the mac store standards as I'd be using a library that is "not public"

I'm quite new to IOS programing and would Like any advice or help. Thanks?

来源:https://stackoverflow.com/questions/26534050/nsnetservicebrowser-to-find-any-device-on-network

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!