On May 14, 2008, at 10:22 AM, [EMAIL PROTECTED] wrote:
I'm reading up on NSStream; where delegation is used for Asynchronous process.
However, I need Synchronous processing.

NSInputStream isn't asynchronous + delegate for reading (are you confusing it with another class?), but it's still a pain to read until EOF. Check out dd_readUntilEndOfStream I used on a previous project (MIT license):

<http://ddribin.googlecode.com/svn/trunk/nsurl/NSInputStream+DDExtensions.m >

-Dave

_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to