Re: NSFileHandle readInBackground vs threading?
Re: NSFileHandle readInBackground vs threading?
- Subject: Re: NSFileHandle readInBackground vs threading?
- From: Scott Ribe <email@hidden>
- Date: Tue, 08 Nov 2011 11:50:28 -0700
On Nov 8, 2011, at 9:54 AM, Alexander Bokovikov wrote:
> I have a need to read some data from a local socket, which serves for IPC. And data may come very quickly, so (AFAIU) inner socket buffer might overflow, so a portion of data might be lost.
What makes you think that? If the buffers fill up, writes will block.
--
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