• 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: TCP sockets with Bonjour-discovered address
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TCP sockets with Bonjour-discovered address


  • Subject: Re: TCP sockets with Bonjour-discovered address
  • From: Carl Hoefs <email@hidden>
  • Date: Tue, 15 Jul 2014 09:25:13 -0700

On Jul 15, 2014, at 6:45 AM, Quinn The Eskimo! <email@hidden> wrote:

> <https://developer.apple.com/library/ios/#qa/qa1652/_index.html>

Thanks, that method works nicely! Got the whole thing going with streams. But I notice there's a huge inefficiency in using read/write block sizes of 1024 bytes, as is recommended in the documentation. For large datasets, large read/writes are much more performant. I'm guessing that recommendation is assuming most people use streams for small read/writes, or is there something I'm overlooking? Many times a 50KB write to the OS X output stream results in a single 50KB read on the iOS input stream.

-Carl


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: TCP sockets with Bonjour-discovered address
      • From: "Quinn \"The Eskimo!\"" <email@hidden>
References: 
 >TCP sockets with Bonjour-discovered address (From: Carl Hoefs <email@hidden>)
 >Re: TCP sockets with Bonjour-discovered address (From: Jens Alfke <email@hidden>)
 >Re: TCP sockets with Bonjour-discovered address (From: Josh Graessley <email@hidden>)
 >Re: TCP sockets with Bonjour-discovered address (From: Jens Alfke <email@hidden>)
 >Re: TCP sockets with Bonjour-discovered address (From: Josh Graessley <email@hidden>)
 >Re: TCP sockets with Bonjour-discovered address (From: Carl Hoefs <email@hidden>)
 >Re: TCP sockets with Bonjour-discovered address (From: Jens Alfke <email@hidden>)
 >Re: TCP sockets with Bonjour-discovered address (From: Carl Hoefs <email@hidden>)
 >Re: TCP sockets with Bonjour-discovered address (From: "Quinn \"The Eskimo!\"" <email@hidden>)

  • Prev by Date: Re: Implementing proxy support
  • Next by Date: Re: TCP sockets with Bonjour-discovered address
  • Previous by thread: Re: TCP sockets with Bonjour-discovered address
  • Next by thread: Re: TCP sockets with Bonjour-discovered address
  • Index(es):
    • Date
    • Thread