Re: Network Reachability
Re: Network Reachability
- Subject: Re: Network Reachability
- From: Jens Alfke <email@hidden>
- Date: Fri, 29 Jan 2010 11:37:42 -0800
On Jan 29, 2010, at 11:12 AM, Laurent Daudelin wrote:
> I was able to determined that when the connection is down, I found out that kSCNetworkFlagsConnectionRequired was true, so it seems to work. It's just difficult to determine what exactly the flags mean.
This can be confusing. Connection-required is for things like dial-up modems: it means the host isn't reachable now, but may be if an action is taken to make a connection (like dialing a modem.) This isn't really useful any more, but it used to be that the app could look up which interface supported the connection, then either autodial or prompt you whether you wanted to connect.
These days you can pretty much treat that flag as meaning "no connection".
—Jens_______________________________________________
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