I sent this yesterday to macnetworkprog, but I wonder if this list might reach 
more people who've encountered the issue before...

---

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.

Thanks,

-- 
Rick




_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to