Re: TCP sockets with Bonjour-discovered address
Re: TCP sockets with Bonjour-discovered address
- Subject: Re: TCP sockets with Bonjour-discovered address
- From: "Quinn \"The Eskimo!\"" <email@hidden>
- Date: Tue, 15 Jul 2014 17:49:48 +0100
On 15 Jul 2014, at 17:25, Carl Hoefs <email@hidden> wrote:
> But I notice there's a huge inefficiency in using read/write block sizes of 1024 bytes, as is recommended in the documentation.
If the documentation /specifically recommends/ 1 KiB reads and writes, you should file a bug about that.
<https://developer.apple.com/bug-reporting/>
Please post your bug number, just for the record.
However, my expectation is that the documentation /demonstrates/ 1 KiB reads and writes, in which case that's just an example. In general doing I/O in larger blocks results in better performance, and this is no exception.
Share and Enjoy
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
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