• 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
Is the internet avaliable question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Is the internet avaliable question


  • Subject: Is the internet avaliable question
  • From: Kevin Bracey <email@hidden>
  • Date: Fri, 2 Apr 2004 12:35:40 +1200

I'm developing a small support app to load a web page in the default browser. This works great.

This is for Panther users only. Written in Cocoa with xCode.

I would like to check if the internet is available before attempting to load the page. Some users will be on a LAN, others will be on dial-up. I just want check if the internet is available and prompt them to logon if not.

Is NSHost the easy and robust way to do this? for which I have the apple sample "NameAndAddress"

or should I use

The System Configuration framework, of which I have found no samples, and it looks like it would take me (newbie) some time to fathom.

Any ideas/search keywords/pointers/samples for this would be greatly appreciated.

Cheers
Kevin Bracey


"I love deadlines. I love the whooshing noise they make as they go by" (Douglas Adams)
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Is the internet avaliable question
      • From: m <email@hidden>
    • Re: Is the internet avaliable question
      • From: Peter Borg <email@hidden>
  • Prev by Date: Re: NSNotificationCenter not working
  • Next by Date: Re: returning nil on initialization
  • Previous by thread: Re: Which NSCompositingOperation the Dock uses for highlight the icons?
  • Next by thread: Re: Is the internet avaliable question
  • Index(es):
    • Date
    • Thread