std.socket
Sean Kelly
sean at invisibleduck.org
Wed Nov 2 16:17:12 PDT 2011
On Nov 2, 2011, at 9:59 AM, Steve Teale wrote:
> On Wed, 02 Nov 2011 16:45:30 +0000, Regan Heath wrote:
>
>> .. why do you want/need such a large TCPIP recv buffer?
>
> I'm using Ubuntu i386. I just thought that since MySQL talks blithely
> about packet sizes of 16mb I would investigate how my protocol interface
> performs with large buffers and large BLOBS.
I suspect that MySQL's "packet size" has no relation to TCP packet size. Their max_packet_size is probably actually a max_request_size? Even if you had a huge TCP buffer, the MTU used by the network (typically 1500 bytes) would break a MySQL "packet" into multiple TCP packets.
More information about the Digitalmars-d
mailing list