From owner-freebsd-hackers Tue Nov 5 20:52:09 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA15868 for hackers-outgoing; Tue, 5 Nov 1996 20:52:09 -0800 (PST) Received: from citrine.cyberstation.net (hannibal@citrine.cyberstation.net [205.167.0.5]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id UAA15858 for ; Tue, 5 Nov 1996 20:52:04 -0800 (PST) Received: from localhost (hannibal@localhost) by citrine.cyberstation.net (8.8.2/8.8.2) with SMTP id WAA08969 for ; Tue, 5 Nov 1996 22:51:59 -0600 (CST) Date: Tue, 5 Nov 1996 22:51:58 -0600 (CST) From: Dan Walters Reply-To: Dan Walters To: hackers@freebsd.org Subject: Limiting bandwidth on a socket? (SO_RCVBUF?) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I'm trying to come up with some way to limit the amount of bandwidth on a socket, so I can have my mail and large files retrieve without slowing down a telnet session that much. I thought I could do this by setting SO_RCVBUF to a small value, but it doesn't seem to change the window size at all when I look at it with tcpdump. I saw something about patches to fix a broken SO_RCVBUF implementation in the mailing list archives, but can't seem to locate them / not sure if they made it in the kernel in the first place. If SO_RCVBUF would do what I want, I'd like a copy of them. :) I could swear I saw a "low-bandwidth ncftp" or something of the sort on sunsite.unc.edu a couple years ago, so I think this is possible (Well, at least in Linux...). It's apparently been deleted though. Anyone know how to do this? ====================================================================== Dan Walters hannibal@cyberstation.net ======================================================================