[Prev][Next][Index][Thread]

Re: Socket Recv Buffers



> From: Ravi Chamarty <ravi@ittc.ku.edu>
> Subject: Socket Recv Buffers
> Date: Wed, 20 Jun 2001 14:08:21 -0500 (CDT)
> 
>  What is the default size of the receive buffer allocated to a Socket in
> OSKit? Where can I find this information.

Well, the intial values are more or less hardwired in. See:

	freebsd/3.x/src/sys/netinet/udp_usrreq.c
	freebsd/3.x/src/sys/netinet/tcp_usrreq.c

Look for sendspace and recvspace. However, the connection setup can modify
those values, although I'm not clear on details of it. Have a peek and let
us know what you discover. 

Lbs

----------------------------------------
Leigh B. Stoller
University of Utah - Flux Research Group
http://www.cs.utah.edu/~stoller
----------------------------------------

References: