• 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: Is my computer connected to the web?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is my computer connected to the web?


  • Subject: Re: Is my computer connected to the web?
  • From: Finlay Dobbie <email@hidden>
  • Date: Sat, 17 Jan 2004 21:49:22 +0000

On 17 Jan 2004, at 19:54, Lorenzo wrote:

I use only "stringWithContentsOfURL:" and when I am not connected or that
file doesn't exist, I have to wait so long to get the response. Do you think
there is a Cocoa short way to detect that I am not connected?

You can detect whether or not you are connected to the internet using the SCNetwork[Check]Reachability API in SystemConfiguration.framework.

-- Finlay
_______________________________________________
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.

References: 
 >Re: Is my computer connected to the web? (From: Lorenzo <email@hidden>)

  • Prev by Date: Re: Is my computer connected to the web?
  • Next by Date: Re: [ANN] Site for standard toolbar icons gone live.
  • Previous by thread: Re: Is my computer connected to the web?
  • Next by thread: Drawing graphics into a view in AppleScript Studio
  • Index(es):
    • Date
    • Thread