Re: NSStream APIs
Re: NSStream APIs
- Subject: Re: NSStream APIs
- From: Jean-Daniel Dupas <email@hidden>
- Date: Mon, 22 Dec 2008 23:32:10 +0100
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.
_______________________________________________
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