std.socket

Jens Mueller jens.k.mueller at gmx.de
Thu Nov 3 01:40:57 PDT 2011


Steve Teale wrote:
> On Wed, 02 Nov 2011 16:17:12 -0700, Sean Kelly wrote:
> 
> > 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 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.
> 
> Yes Sean, I'm sure from what I've seem that that is the case. They're 
> logical packets, and I shall stop worrying about it.

Shouldn't we anyway write a bug report for std.socket? Yesterday I tried
doing it by hand using setsockopt but even that didn't not work.

Jens


More information about the Digitalmars-d mailing list