• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSFileHandle readInBackground vs threading?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: NSFileHandle readInBackground vs threading?
      • From: Alexander Bokovikov <email@hidden>
References: 
 >NSFileHandle readInBackground vs threading? (From: Alexander Bokovikov <email@hidden>)
 >Re: NSFileHandle readInBackground vs threading? (From: Scott Ribe <email@hidden>)
 >Re: NSFileHandle readInBackground vs threading? (From: Alexander Bokovikov <email@hidden>)
 >Re: NSFileHandle readInBackground vs threading? (From: Scott Ribe <email@hidden>)
 >Re: NSFileHandle readInBackground vs threading? (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Tip: how to fix failure to compile ivars in class extensions
  • Next by Date: Re: ObjC's flat and all-exported namespace, help!
  • Previous by thread: Re: NSFileHandle readInBackground vs threading?
  • Next by thread: Re: NSFileHandle readInBackground vs threading?
  • Index(es):
    • Date
    • Thread