Re: kCFErrorDomainCFNetwork == NSURLErrorDomain ; // But headers say otherwise
Re: kCFErrorDomainCFNetwork == NSURLErrorDomain ; // But headers say otherwise
- Subject: Re: kCFErrorDomainCFNetwork == NSURLErrorDomain ; // But headers say otherwise
- From: Quinn <email@hidden>
- Date: Thu, 1 Oct 2009 09:56:49 +0100
At 20:48 -0700 30/9/09, Jerry Krinock wrote:
Well, I have received today (from [NSURLConnection
sendSynchronousRequest:returningResponse:error:&error]) NSErrors in
that domain which had codes -1009 and -1012. Neither of these codes
are defined in that enum, or anywhere in CFNetworkErrors.h.
Which SDK are you looking at? These codes seem to be defined in
"CFNetworkErrors.h" on the 10.6 SDK.
$ grep 1009
/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h
kCFURLErrorNotConnectedToInternet = -1009,
$ grep 1012
/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h
kCFURLErrorUserCancelledAuthentication = -1012,
S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden