我可以搜索连接到本地wifi网络的设备吗?所以我需要这样的东西:
>按按钮
>一些算法
>我得到了设备IP地址和端口的列表
我想我不能在iOS中这样做,但也许我不知道:)
解决方法
这里有一个iOS局域网扫描仪
https://github.com/mongizaidi/LAN-Scan
你也可以看看bonjour
https://developer.apple.com/bonjour/index.html
Bonjour,also known as zero-configuration networking,enables automatic discovery of devices and services on a local network using industry standard IP protocols. Bonjour makes it easy to discover,publish,and resolve network services with a sophisticated,yet easy-to-use,programming interface that is accessible from Cocoa,Ruby,Python,and other languages.
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。