• 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: Detecting a network connection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Detecting a network connection


  • Subject: Re: Detecting a network connection
  • From: Jens Alfke <email@hidden>
  • Date: Wed, 28 Oct 2009 09:48:19 -0700


On Oct 28, 2009, at 9:22 AM, colors wrote:

Is there an API for determining a physical network connection (ethernet, WiFi, etc.)?

Again, SystemConfiguration has APIs for that. But unless you're doing something unusual, you probably don't need to check for physical network interfaces. An active link doesn't necessarily mean you can connect to any remote hosts. In almost all cases, what you really want to know is whether a particular host or net is reachable.


—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


References: 
 >Getting a handle on inf (From: Ian Piper <email@hidden>)
 >Re: Getting a handle on inf (From: Greg Parker <email@hidden>)
 >Re: Getting a handle on inf (From: Ian Piper <email@hidden>)
 >Re: Getting a handle on inf (From: Andrew Farmer <email@hidden>)
 >Detecting a network connection (From: colors <email@hidden>)
 >Re: Detecting a network connection (From: Dave Carrigan <email@hidden>)
 >Re: Detecting a network connection (From: colors <email@hidden>)

  • Prev by Date: Re: Programmatically invoking double-click bindings on NSTableView
  • Next by Date: Re: Odd window behavior LSUIElement=1
  • Previous by thread: Re: Detecting a network connection
  • Next by thread: Re: Detecting a network connection
  • Index(es):
    • Date
    • Thread