ibrahim
ibrahim

Reputation: 35

TCP recive window size on three-way handshake

I have a question regarding TCP receive window size. Here is a example from the application Wireshark:

client A :syn, win=8192 , ws=4 ====>
<===== client B: syn, ack  win 5840 , ws=128
client A : Ack win=65700 ,

How did we obtain 65700 (from 8192 to 65700) in the three way handshake ?
And how does the ws get negotiated?

Upvotes: 1

Views: 1890

Answers (1)

HelloWorld
HelloWorld

Reputation: 1863

The TCP receive Window size is not negotiated. It's just send to the other host. Each host uses it's own receive window size so the other host knows when to expect an ACK.

client A : >>Ack<< win=65700 , // just the confirmation

Upvotes: 1

Related Questions