std.socket

Jens Mueller jens.k.mueller at gmx.de
Thu Nov 3 02:24:19 PDT 2011


Steve Teale wrote:
> Who is the resident expert? Sean maybe?
> 
> How do I get the receive buffer size up into the megabytes range for use 
> between the D client and localhost. setOption seems to only get me about 
> 262k.
> 
> Steve

I found what's causing this behavior (see man 7 socket (search for
SO_RCVBUF)).
The maximum value is specified in /proc/sys/net/core/rmem_max. On my
system it's 131071.

Jens


More information about the Digitalmars-d mailing list