| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
We highly encourage you to make the transition to CFNetwork. Here's some sample code to get you started. None of it contains any Objective-C.
<http://developer.apple.com/samplecode/CFFTPSample/CFFTPSample.html>
<http://developer.apple.com/samplecode/CFNetworkHTTPDownload/ CFNetworkHTTPDownload.html>
Thanx, the examples don't look too bad. I'll just say if( OSX ) in my class to decide whether to use URLAccess or CF, unless there is a certain version of OS X where it would be a good idea to still use URLAccess, like say 10.1?
OK, I actually have used http enough that I can run it from telnet, I have functions to parse the headers and cookies, etc. I have made Get/Set operators for key/valye pairs that act a lot like associative arrays in javascript. So I could probably program the whole thing now over a socket, although it would be ugly. Do NSURL or CFHTTPStream, or even CFNetwork have functions for individual items in the header?
And what I really need is SSL support. I want to be able to just type https in the URL and have it "just work". I'm wondering which of the methods is better for that.
Also, I have never done anything with a proxy server, but should I need that, is there a way to just add it in, and which of these would be better for that?
Hope that helps; let us know how it goes, REW _______________________________________________ Do not post admin requests to the list. They will be ignored. Macnetworkprog mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/macnetworkprog/email@hidden
| References: | |
| >Re: URLAccess Stalls (From: Alexey Proskuryakov <email@hidden>) | |
| >Re: URLAccess Stalls (From: Marc Krochmal <email@hidden>) | |
| >Re: URLAccess Stalls (From: email@hidden) | |
| >Re: URLAccess Stalls (From: Marc Krochmal <email@hidden>) | |
| >Re: URLAccess Stalls (From: "Alexey Proskuryakov" <email@hidden>) | |
| >Re: URLAccess Stalls (From: David Young <email@hidden>) | |
| >Re: URLAccess Stalls (From: "Alexey Proskuryakov" <email@hidden>) | |
| >Re: URLAccess Stalls (From: email@hidden) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.