• 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: Reachability determination?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reachability determination?


  • Subject: Re: Reachability determination?
  • From: Stéphane Sudre <email@hidden>
  • Date: Tue, 24 Feb 2015 10:29:20 +0000
  • Thread-topic: Reachability determination?

On 24 févr. 2015, at 01:20, Rick Mann wrote:

> I thought I've read in the past that we shouldn't use SCNetworkReachability to determine reachability, but to actually just try to connect to our servers, and if that fails, then do something.

Yes, this was exposed during a WWDC session some years ago.

> What is that something? Looking at the SCNetworkReachability Reference, there's no mention of this usage.
>
> I do wish Apple would update the docs to reflect how they behave and should be used.
>
> Is there a document that describes the correct use? Thanks.

Instead of polling, another solution depending on the nature of the unreachability could be to observe network settings changes (DNS, IP, Active Interface, etc.) using the SystemConfiguration Dynamic Store API.



 _______________________________________________
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: Reachability determination?
      • From: Jens Alfke <email@hidden>
References: 
 >Reachability determination? (From: Rick Mann <email@hidden>)

  • Prev by Date: Re: HTTP/2 support in OS X?
  • Next by Date: Re: -getTasksWithCompletionHandler: synchronization
  • Previous by thread: Re: Reachability determination?
  • Next by thread: Re: Reachability determination?
  • Index(es):
    • Date
    • Thread