From owner-freebsd-questions Wed Apr 4 13:55:49 2001 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 2A85237B71E for ; Wed, 4 Apr 2001 13:55:46 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.11.3/8.11.3) id f34Ktgm07440; Wed, 4 Apr 2001 15:55:42 -0500 (CDT) (envelope-from dan) Date: Wed, 4 Apr 2001 15:55:41 -0500 From: Dan Nelson To: EXT-Ralph.Henderson@nokia.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Adjusting TCP Receive Window Size Message-ID: <20010404155541.A6469@dan.emsphone.com> References: <8572CF1E2A95D211A1190008C7EAA24605174947@daeis05nok> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.17i In-Reply-To: <8572CF1E2A95D211A1190008C7EAA24605174947@daeis05nok>; from "EXT-Ralph.Henderson@nokia.com" on Wed Apr 4 14:46:52 GMT 2001 X-OS: FreeBSD 5.0-CURRENT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (Apr 04), EXT-Ralph.Henderson@nokia.com said: > Does anyone have any insights on how to change the TCP Receive Window > Size????? In your program: setsockopt() with SO_RCVBUF, and whatever buffer size you prefer. To change the kernel's maximum (needed if you want to use setsockopt() to make the window bigger): sysctl -w net.inet.tcp.recvspace=1048576 The default is 16384. -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message