• 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: Alexander Bokovikov <email@hidden>
  • Date: Mon, 14 Nov 2011 12:48:44 +0600


On 09.11.2011, at 19:25, Scott Ribe wrote:

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.

Thanks to everybody for your useful comments! My local socket is opened in the client process just as

socket(AF_LOCAL, SOCK_STREAM, 0)

I'm getting the socket file handle, and use it for writing to the host process. I've tested the write process and as far as I can see, the data are written completely. The socket is never blocked by host process. So, I believe I need to dig the sending side.

Thank you.
_______________________________________________

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


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>)
 >Re: NSFileHandle readInBackground vs threading? (From: Scott Ribe <email@hidden>)

  • Prev by Date: Re: Troubles with Bold and Italic fonts - Cocoa
  • Next by Date: RE: Troubles with Bold and Italic fonts - Cocoa
  • Previous by thread: Re: NSFileHandle readInBackground vs threading?
  • Next by thread: Re: NSFileHandle readInBackground vs threading?
  • Index(es):
    • Date
    • Thread