Re: TCP sockets with Bonjour-discovered address
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