Interestingly, this is now working as expected. Not sure what was going on last night, but I couldn't get it to behave. On Jul 10, 2013, at 23:28 , Rick Mann <rmann@latencyzero.com> wrote:
I'm working on an iPad app to control a device. In one possible configuration, the device hosts a Wi-Fi network and the user connects the iPad to it. The device has a DHCP server and provides an IP address and subnet mask to the iPad, but does not provide a Router or DNS or other information. We are able to successfully make TCP connections to the device over Wi-Fi.
If the iPad also has a cellular data plan, we want to connect to our server (this is a server in the cloud, not the device) via that cellular data connection. But the SCNetworkReachabilityFlags I get back are 0 (unreachable, not WWAN). Attempts to connect to our server fail. Attempts to use Safari to connect to the internet fail.
Is there something about what our device is providing via Wi-Fi that prevents the iPad from figuring out how to route traffic? Is it not possible to split network operations this way? I thought it could do this, and this is critical to our product's ease of use.
-- Rick
_______________________________________________ Do not post admin requests to the list. They will be ignored. Macnetworkprog mailing list (Macnetworkprog@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/macnetworkprog/rmann%40latencyzero.c...
This email sent to rmann@latencyzero.com
-- Rick _______________________________________________ Do not post admin requests to the list. They will be ignored. Macnetworkprog mailing list (Macnetworkprog@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/macnetworkprog/site_archiver%40lists... This email sent to site_archiver@lists.apple.com
participants (1)
-
Rick Mann