Re: NSStream APIs
Re: NSStream APIs
- Subject: Re: NSStream APIs
- From: Alex Kac <email@hidden>
- Date: Mon, 22 Dec 2008 17:38:27 -0600
I have - and there are still so many questions with things like the
HTTP Post CF code I have and that's what I was hoping for something
more in-depth.
On Dec 22, 2008, at 4:32 PM, Jean-Daniel Dupas wrote:
Le 22 déc. 08 à 19:48, Alex Kac a écrit :
Does anyone have a good tutorial on how to use these? I have to
admit to being stumped. I have some pre-written code written using
NSData to send data using CFNetwork and ASyncSocket code and I just
can't seem to figure out how to get the file stream stuff in there.
What I would love is not just "sample" code, but perhaps a: here is
how to do it with NSData and here is the same code with NSStream.
You can check the CFStream documentation.
In the CFNetwork programming guide, there is a section "Using
stream". http://developer.apple.com/documentation/Networking/Conceptual/CFNetwork/Introduction/chapter_1_section_1.html
As NSStream API is just an obj-c wrapper on CFStream, the general
concepts are the same.
Alex Kac - President and Founder
Web Information Solutions, Inc.
"Forgiveness is not an occasional act: it is a permanent attitude."
-- Dr. Martin Luther King
_______________________________________________
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