Re: NSStream, NSInputStream, NSOutputStream
Re: NSStream, NSInputStream, NSOutputStream
- Subject: Re: NSStream, NSInputStream, NSOutputStream
- From: Jens Alfke <email@hidden>
- Date: Sun, 18 May 2008 23:45:33 -0700
On 18 May '08, at 9:19 PM, John MacMullin wrote:
I think that all one needs to do is to write one byte in the
"external" function, then handle the rest of the writes through the
delegate NSStreamEventHasSpaceAvailable event.
You don't even need to do the one byte externally. Your delegate will
be told there's space available as soon as the socket's opened.
—Jens
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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