• 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
Re: An API for Airplane mode on iOS?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: An API for Airplane mode on iOS?


  • Subject: Re: An API for Airplane mode on iOS?
  • From: Jens Alfke <email@hidden>
  • Date: Mon, 08 Feb 2016 23:02:17 -0800

> On Feb 8, 2016, at 9:45 PM, Glenn L. Austin <email@hidden> wrote:
>
> According to the docs on Reachability (possibly lost in the mists of time...), Reachability isn't really designed to tell you whether your net access *will* succeed, but to give you reasons that your last access *failed.*

It’s not that surprising. There’s no guarantee that any IP packet will make it across the network, and no way to tell whether a host really is reachable without actually sending a packet to it (and back.) So the only way Reachability could tell you an access *will* succeed would be if it were constantly pinging the server, which is obviously impractical.

All Reachability tells you is whether there is an active network interface that can be used to route a packet one hop toward the desired host.

—Jens
_______________________________________________

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: An API for Airplane mode on iOS?
      • From: email@hidden
References: 
 >An API for Airplane mode on iOS? (From: Alex Zavatone <email@hidden>)
 >Re: An API for Airplane mode on iOS? (From: "Glenn L. Austin" <email@hidden>)

  • Prev by Date: Re: CoreImage filters spam the log on El-Capitan?
  • Next by Date: Re: An API for Airplane mode on iOS?
  • Previous by thread: Re: An API for Airplane mode on iOS?
  • Next by thread: Re: An API for Airplane mode on iOS?
  • Index(es):
    • Date
    • Thread