我目前正在开发一个项目,该项目需要 iPhone 使用 Ad-Hoc 网络 (WiFi) 连接到另一台设备。同时,我需要连接到互联网,以便将数据上传到也使用 WiFi 的服务器。
我的问题是:iPhone可以连接多个网络吗?
如果不是,假设数据速率较低,是否可以(并且可行)在网络之间进行切换?例如,iPhone通过Ad-Hoc接收数据、断开连接、连接到其他WiFi网络、与服务器建立连接、发送数据、断开网络连接、重新连接到Ad-Hoc网络等?
I'm currently working on a project that requires the iPhone to connect to another device using an Ad-Hoc network (WiFi). Simultaneously, I require a connection to the internet in order to upload data to a server also using WiFi.
My question is: is the iPhone capable of connecting to multiple networks?
If not, is it possible (and viable) to switch between networks assuming the data rate is low? For example, iPhone receives data via Ad-Hoc, disconnects, connects to other WiFi network, established connection with server, sends data, disconnects from network, reconnects to Ad-Hoc network etc?
发布评论
评论(1)
如果数据速率较低并且您正在与另一台 iOS 设备通话,请查看 GameKit。
不过,这是蓝牙。
我还没有见过同时连接多个 Wi-Fi 网络的方法。
If the data rate is low and you are talking to another iOS device, check out GameKit.
This is Bluetooth, though.
I have not seen a way to connect to multiple wi-fi networks simultaneously.