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

Re: Network Reachability


  • Subject: Re: Network Reachability
  • From: Michael Ash <email@hidden>
  • Date: Sat, 30 Jan 2010 02:58:46 -0500

On Fri, Jan 29, 2010 at 2:37 PM, Jens Alfke <email@hidden> wrote:
>
> On Jan 29, 2010, at 11:12 AM, Laurent Daudelin wrote:
>
>> I was able to determined that when the connection is down, I found out that kSCNetworkFlagsConnectionRequired was true, so it seems to work. It's just difficult to determine what exactly the flags mean.
>
> This can be confusing. Connection-required is for things like dial-up modems: it means the host isn't reachable now, but may be if an action is taken to make a connection (like dialing a modem.) This isn't really useful any more, but it used to be that the app could look up which interface supported the connection, then either autodial or prompt you whether you wanted to connect.
>
> These days you can pretty much treat that flag as meaning "no connection".

Dialup is more common than you might think. Millions of people still
use it, either because it's cheap or it's all they can get, and a lot
of those people have Macs.

"Connection required" is *far* more common than you might think. It
applies not only to dialup, but to things like PPPoE, which is
extremely common for DSL connections. If the Mac is connected directly
to the DSL modem, it will use PPPoE. If the PPPoE connection is set up
not to be connected all the time, and if the user isn't actively using
the internet at the time, the PPPoE connection could very easily be
disconnected, and Reachability will return
kSCNetworkFlagsConnectionRequired in that case.

Mike
_______________________________________________

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

References: 
 >Network Reachability (From: Laurent Daudelin <email@hidden>)
 >Re: Network Reachability (From: Jens Alfke <email@hidden>)
 >Re: Network Reachability (From: Laurent Daudelin <email@hidden>)
 >Re: Network Reachability (From: Jens Alfke <email@hidden>)

  • Prev by Date: bind:toObject:withKeyPath:options: Unidirectional or Bidirectional?
  • Next by Date: Re: Loading of Mach-O executable files.
  • Previous by thread: Re: Network Reachability
  • Next by thread: Node hierarchy with subclasses
  • Index(es):
    • Date
    • Thread