From owner-freebsd-doc Thu Mar 9 0:55:33 2000 Delivered-To: freebsd-doc@freebsd.org Received: from azazel.zer0.org (azazel.zer0.org [209.133.53.200]) by hub.freebsd.org (Postfix) with ESMTP id 26F5337B80E for ; Thu, 9 Mar 2000 00:55:29 -0800 (PST) (envelope-from gsutter@zer0.org) Received: (from gsutter@localhost) by azazel.zer0.org (8.9.3/8.9.2) id AAA54388; Thu, 9 Mar 2000 00:54:24 -0800 (PST) (envelope-from gsutter@zer0.org) Date: Thu, 9 Mar 2000 00:54:24 -0800 From: Gregory Sutter To: Oyster Liu Cc: freebsd-doc@FreeBSD.ORG Subject: Re: How do you change the TCP windows size ? Message-ID: <20000309005424.A50524@azazel.zer0.org> References: <38C729E4.7389CD85@homenet.com.tw> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <38C729E4.7389CD85@homenet.com.tw>; from oyster@dns.homenet.com.tw on Thu, Mar 09, 2000 at 12:34:44PM +0800 Organization: Zer0 Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 2000-03-09 12:34 +0800, Oyster Liu 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