9.8 The Window Scale Factor

The window declared by the destination has 2 B allocated in the TCP header. The destination can therefore declare a window that is between 0 and 65535 B. These windows are too small for gigabyte networks. One solution is to use the window scale factor optional item in the TCP segment header. This option can only be used in segments that initialize a connection (segments with the SYN flag).

Using the window scale factor item, both sides of the connection agree to scale the window by a factor of 0 to 14. Let us call this factor n. The agreed factor can be different in each direction.

The window scale factor is used in an interesting way. If the source proposes a window of size k big and proposes to scale it by n, then ...

Get Understanding TCP/IP now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.