在wifi网络ios上找到同龄人 [英] find peers on wifi network ios
本文介绍了在wifi网络ios上找到同龄人的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试找出如何搜索登录到wifi网络的其他设备的其他设备,这些设备将应用程序托管在特定端口上.
I'm trying to figure out how to search for other devices logged into a wifi network that are hosting the application on a specific port.
如何在不知道其他设备地址甚至主机所在端口的情况下检测这些其他设备的存在?
How can I detect the presence of these other devices without knowing their address or even necessarily the port they are hosting on?
一旦发现,我应该可以联系该设备并与其建立连接.
Once discovered, I should be able to contact the device and establish a connection with it.
推荐答案
The most standard "iOS way" would be to use Bonjour to announce and listen for announcements for the application.
这篇关于在wifi网络ios上找到同龄人的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文