Does IOS support simultaneous wifi and 3g/4g connections?

旧时模样 提交于 2019-12-01 06:14:06

Comparing to Android, iOS supports simultaneous work of multiple network adapters. It's necessary to write C code working with BSD sockets, doing enum, bind, and handling network interface changes.

By the way, it's ideologically very important to continue using that native BSD functionality in C/C++, otherwise, who knows, Apple may in 5-10 years remove support for BSD sockets completely :-)

Some C examples of how to do that you can find here: https://gist.github.com/avesus/fdb465b60a4f5204845c

Brian Hemmelman

I've been looking for this answer myself and eventually found a solution here:

https://apple.stackexchange.com/questions/62870/how-do-i-tell-an-ios-device-theres-no-internet-connection-on-the-wifi

The solution does not involve any code but instead changing the settings on your iPad. Change the settings for the Wi-Fi connection to Static instead of DHCP. In the Static settings leave the Router field EMPTY. What I did was write down the IP Address, Subnet Mask, and DNS values that were being used by DHCP and then just left the Router field blank. I have found a couple of other posts that suggest entering 0 or 0.0.0.0 but leaving it blank was what made it work for me.

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