Re: NSFileHandle -availableData breaks stdin stream at 4K chunks?
Re: NSFileHandle -availableData breaks stdin stream at 4K chunks?
- Subject: Re: NSFileHandle -availableData breaks stdin stream at 4K chunks?
- From: Scott Ribe <email@hidden>
- Date: Wed, 02 Jul 2014 18:43:37 -0600
On Jul 2, 2014, at 6:34 PM, Jerry Krinock <email@hidden> wrote:
> Although it was fun to write the code to buffer and stitch the message fields and length fields back together, I’d like to know what is causing these 4K breaks.
It's the OS itself. Unix domain sockets have 4k buffers.
--
Scott Ribe
email@hidden
http://www.elevated-dev.com/
(303) 722-0567 voice
_______________________________________________
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