• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
iOS reachability
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

iOS reachability


  • Subject: iOS reachability
  • From: Rick Mann <email@hidden>
  • Date: Wed, 10 Jul 2013 23:28:26 -0700

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      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: iOS reachability
      • From: Rick Mann <email@hidden>
  • Prev by Date: Re: L2TP and 'Send all traffic over VPN Connection'
  • Next by Date: Re: iOS reachability
  • Previous by thread: Re: L2TP and 'Send all traffic over VPN Connection'
  • Next by thread: Re: iOS reachability
  • Index(es):
    • Date
    • Thread