Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Mar 2005 08:47:49 -0500
From:      lbland <lbland@vvi.com>
To:        freebsd-net@freebsd.org
Subject:   TCP window scale option setting?
Message-ID:  <69ec4799a574aeae723c687c3c2db15f@vvi.com>

next in thread | raw e-mail | index | archive | help
hi-

In section 2.5 of the Stevens book it says "we wil see how to effect 
this [window scale] option with SO_RCVBUF socket option (Section 7.5)".

But, when I get to Section 7.5 it doesn't say anything about it that I 
can find. I searched the whole book, and then googled and then grep'd 
the header files to hack it. I see some related macros, but nothing 
definitive. I can't find enough to figure it out. It seems I can use 
setsockopt() to implicitly maybe or maybe not define it, but then I 
have no way of checking to make sure it stuck during the initial 
negotiation.

How do I get the current TCP window scale setting?

How do I set the TCP window scale setting?

thanks!-

-lance



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