tcp connection and window size

Answered Question
Jul 26th, 2009

Hi every body!

Let say we have two hosts ,h1 and h2. Application on both are using tcp. Now will h1 and h2 use the same windows for each other or they can use different windows size say h1 decides windows size=1000 bytes while h2 decides window size=800 bytes ?

thanks and have a nice day !

I have this problem too.
0 votes
Correct Answer by Joseph W. Doherty about 7 years 4 months ago

Assuming you're thinking of the receiver's TCP window size, size is up receiving host (within TCP constraints).

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Joseph W. Doherty Sun, 07/26/2009 - 08:29

Assuming you're thinking of the receiver's TCP window size, size is up receiving host (within TCP constraints).

sarahr202 Sun, 07/26/2009 - 09:22

Thanks joseph.

Sorry i did not get you completely. Do you mean window size is decided independently by receiver. It is possible that h1 choose 100 bytes windows meaning h1 will receive 1000 byttes from h2 before sending ack. Similarly h2 can choose 800 bytes window meaning h2 will receive 800 bytes from h1 before sending ack .

thanks

Joseph W. Doherty Mon, 07/27/2009 - 02:46

"Do you mean window size is decided independently by receiver."

Yes.

PS:

"It is possible that h1 choose 100 (typo? suspect you meant 1000) bytes windows meaning h1 will receive 1000 byttes from h2 before sending ack. Similarly h2 can choose 800 bytes window meaning h2 will receive 800 bytes from h1 before sending ack ."

Yes, although when ACKs are sent are not directly related to amount of space left in receive window but to rules processing TCP packets.

Actions

This Discussion