• 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: Howard Jones <email@hidden>
  • Date: Sun, 15 Oct 2006 09:50:23 +0100

Ben Dougall wrote:
Unfortunately it's all for 10.3 and above. I need it to work on 10.2. Oh well, AppleScript + Internet Connect app it'll have to be, or ping Amazon.com repeatedly to see if it's connected.
Couldn't you query something against one/some of the root DNS servers? Those pretty much must be up, and it also shows that you are connected to the big-I Internet and not just some IP network. You may be able to ping them, but I would guess that's not guaranteed, whereas a DNS query is their real job. Same with Amazon - they don't have to answer your pings, but they do have to answer your HTTP request - try a HTTP HEAD or something small like that instead.
_______________________________________________
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
References: 
 >Re: Checking for internet connection? (From: Ben Dougall <email@hidden>)

  • Prev by Date: Re: NSFont and determining the advancement of a given string
  • Next by Date: Re: How to load data from NSDictionary to NSTableView?
  • Previous by thread: Re: Checking for internet connection?
  • Next by thread: Re: Checking for internet connection?
  • Index(es):
    • Date
    • Thread