• 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: Jens Alfke <email@hidden>
  • Date: Fri, 29 Jan 2010 11:37:42 -0800

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".

—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: Network Reachability
      • From: Michael Ash <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>)

  • Prev by Date: Re: determining HTML text encoding
  • Next by Date: Re: NSXML and invalid UTF8 characters
  • Previous by thread: Re: Network Reachability
  • Next by thread: Re: Network Reachability
  • Index(es):
    • Date
    • Thread