cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
657
Views
0
Helpful
3
Replies

tcp connection and window size

sarahr202
Level 5
Level 5

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 !

1 Accepted Solution

Accepted Solutions

Joseph W. Doherty
Hall of Fame
Hall of Fame

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

View solution in original post

3 Replies 3

Joseph W. Doherty
Hall of Fame
Hall of Fame

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

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

"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.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco