• 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: Jens Alfke <email@hidden>
  • Date: Tue, 24 Feb 2015 09:05:40 -0800


On Feb 24, 2015, at 8:58 AM, Jens Alfke <email@hidden> wrote:


On Feb 24, 2015, at 2:29 AM, Stéphane Sudre <email@hidden> wrote:

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.

That’s exactly what the SCReachability implementation is supposedly doing for us.

Oops, forgot to add: And there are a lot of sources of unreachability that are not visible directly to the device, so SystemConfiguration can’t notify about them being resolved. For example, an intermediate router going up/down, a remote link failure, a DNS server being updated. If you want the program to be able to connect without explicit user intervention, it does need to poll.

—Jens

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

  • Prev by Date: Re: Reachability determination?
  • Next by Date: Re: -getTasksWithCompletionHandler: synchronization
  • Previous by thread: Re: Reachability determination?
  • Next by thread: Re: Reachability determination?
  • Index(es):
    • Date
    • Thread