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 (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com