• 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: Checking for internet connection?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Checking for internet connection?


  • Subject: Re: Checking for internet connection?
  • From: j o a r <email@hidden>
  • Date: Sat, 14 Oct 2006 20:44:21 +0200


On 14 okt 2006, at 13.56, Ben Dougall wrote:

The two functions on that page, SCNetworkCheckReachabilityByAddress and SCNetworkCheckReachabilityByName (regarding pre 10.3), checks the availability of another external host. That's really the best way to see if the computer has a connection? Check to see if say Amazon are contactable and from that assume that the machine you're on has a connection? That's really crap I reckon. Surely there's a reasonable way to find out if the machine is currently connected to the net or not (OS X 10.2+)?

How do you think it could work otherwise? What does "connected to the internet" mean to you?


Sure, your computer can detect that it is connected to an IP network without having to ping some host on the Internet, but that's probably not what you're looking for.

j o a r


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Checking for internet connection?
      • From: Ben Dougall <email@hidden>
References: 
 >Checking for internet connection? (From: Ben Dougall <email@hidden>)

  • Prev by Date: Re: [SOLVED] How to receive text color changes from NSFontPanel?
  • Next by Date: Core Data: undo and non-object attribute
  • Previous by thread: Re: Checking for internet connection?
  • Next by thread: Re: Checking for internet connection?
  • Index(es):
    • Date
    • Thread