Re: Detecting a network connection
Re: Detecting a network connection
- Subject: Re: Detecting a network connection
- From: Dave Carrigan <email@hidden>
- Date: Wed, 28 Oct 2009 07:37:40 -0700
On Oct 28, 2009, at 7:32 AM, colors wrote:
I am currently use NSHost to determine if I can see a particular
domain, before I initiate a lengthly sso to that domain. However, I
am finding that depending on the settings of some network DNS
servers, this method does not always work. Any suggestions of a
better way to confirm a live internet connection?
Have a look at the SCNetworkReachability APIs in the
SystemConfiguration framework.
--
Dave Carrigan
email@hidden
Seattle, WA, USA
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden