• 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: Thu, 11 Jul 2013 16:40:50 -0700

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 (email@hidden)

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:

This email sent to email@hidden


  • Follow-Ups:
    • Re: iOS reachability
      • From: Rick Mann <email@hidden>
  • Prev by Date: UITableView section 20 px difference between text and view versions
  • Next by Date: Re: Custom drag image for NSTableView selections
  • Previous by thread: UITableView section 20 px difference between text and view versions
  • Next by thread: Re: iOS reachability
  • Index(es):
    • Date
    • Thread