• 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 Internet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Detecting Internet


  • Subject: Re: Detecting Internet
  • From: Jerry Krinock <email@hidden>
  • Date: Fri, 14 Jul 2006 06:25:46 -0700
  • Thread-topic: Detecting Internet

on 06/07/14 2:12, Gerriet M. Denkmann at email@hidden wrote:

> Any hints would be very welcome.

I'm embarassed to post this, because it is so crude, but it always works:
Create and load an NSURLConnection.  If you're not connected to the
internet, you immediately get an NSURLResponse with a -1009 status code.


 _______________________________________________
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: 
 >Detecting Internet (From: "Gerriet M. Denkmann" <email@hidden>)

  • Prev by Date: RTFFromRange:documentAttributes: and Windows incompatibility?
  • Next by Date: RE: RTFFromRange:documentAttributes: and Windows incompatibility?
  • Previous by thread: Detecting Internet
  • Next by thread: Re: Detecting Internet
  • Index(es):
    • Date
    • Thread