Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Mar 2000 00:54:24 -0800
From:      Gregory Sutter <gsutter@zer0.org>
To:        Oyster Liu <oyster@dns.homenet.com.tw>
Cc:        freebsd-doc@FreeBSD.ORG
Subject:   Re: How do you change the TCP windows size ?
Message-ID:  <20000309005424.A50524@azazel.zer0.org>
In-Reply-To: <38C729E4.7389CD85@homenet.com.tw>; from oyster@dns.homenet.com.tw on Thu, Mar 09, 2000 at 12:34:44PM %2B0800
References:  <38C729E4.7389CD85@homenet.com.tw>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2000-03-09 12:34 +0800, Oyster Liu <oyster@dns.homenet.com.tw> wrote:
>
>     I have used the freebsd for a long time. But, I could not find the
> command to display the tcp window size and set the window size. Could
> you help me to find these commands ?

You are looking for a couple of sysctl settings:

# sysctl net.inet.tcp | grep space
net.inet.tcp.sendspace: 16384
net.inet.tcp.recvspace: 16384
#
# sysctl -w net.inet.tcp.sendspace=32768
net.inet.tcp.sendspace: 16384 -> 32768
#
# sysctl net.inet.tcp | grep space
net.inet.tcp.sendspace: 32768
net.inet.tcp.recvspace: 16384

Greg
-- 
Gregory S. Sutter                    Cole's Law:  Thinly sliced cabbage.
mailto:gsutter@zer0.org 
http://www.zer0.org/~gsutter/ 
PGP DSS public key 0x40AE3052


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000309005424.A50524>