Re: NSFileHandle readInBackground vs threading?
Re: NSFileHandle readInBackground vs threading?
- Subject: Re: NSFileHandle readInBackground vs threading?
- From: Scott Ribe <email@hidden>
- Date: Wed, 09 Nov 2011 06:25:27 -0700
On Nov 8, 2011, at 11:45 PM, Kyle Sluder wrote:
> The kernel only has a certain amount of buffer space dedicated to each
> incoming TCP port. If the port gets flooded, it drops packets.
But this is TCP:
1) Flow control should generally prevent buffers from being overrun;
2) Even if packets are dropped, they should be resent;
3) On a local connection, there's really no way for the port to get "flooded".
I'm not arguing the OP isn't seeing data lost, just that it cannot be happening the way he thinks it is if he's using any normal networking calls.
--
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