Question

In: Computer Science

Illustrate with a diagram how basic TCP Windowing works.

Illustrate with a diagram how basic TCP Windowing works.

Solutions

Expert Solution

`Hey,

Note: Brother if you have any queries related the answer please do comment. I would be very happy to resolve all your queries.

TCP uses “windowing” which means that a sender will send one or more data segments and the receiver will acknowledge one or all segments. When we start a TCP connection, the hosts will use a receive buffer where we temporarily store data before the application can process it.

When the receiver sends an acknowledgment, it will tell the sender how much data it can transmit before the receiver will send an acknowledgment. We call this the window size. Basically, the window size indicates the size of the receive buffer.

Typically the TCP connection will start with a small window size and every time when there is a successful acknowledgement, the window size will increase. Here’s an example:

Above we have two hosts, the host on the left side will send one segment and the host on the right side will send an acknowledgment in return. Since the acknowledgement was successful, the windows size will increase:

The host on the left side is now sending two segments and the host on the right side will return a single acknowledgment. Everything is working fine so the window size will increase even further:

The host is now sending four segments and the host on the right side responds with a single acknowledgment.

In the example above the window size keeps increasing as long as the receiver sends acknowledgments for all our segments or when the window size hits a certain maximum limit. When the receiver doesn’t send an acknowledgment within a certain time period (called the round-trip time) then the window size will be reduced.

Kindly revert for any queries

Thanks.


Related Solutions

plot a simulation diagram of how a mobile phone works
plot a simulation diagram of how a mobile phone works
Describe the importance of quality control chart and illustrate how it works.
Describe the importance of quality control chart and illustrate how it works.
as a marketing director for an hotel, illustrate with the use of a diagram how you...
as a marketing director for an hotel, illustrate with the use of a diagram how you can apply the service marketing mix to the hotel
Explain how photodiode array(PDA)-based single beam UV-Vis spectrophotometer works(illustrate your explanation by drawing a schematic diagram)...
Explain how photodiode array(PDA)-based single beam UV-Vis spectrophotometer works(illustrate your explanation by drawing a schematic diagram) What is the main advantage of the PDA-based (reverse optics) single beam instruments compared to the conventional single beam ones?
Diagram and explain how a Van de Graff works. Be clear.
Diagram and explain how a Van de Graff works. Be clear.
Diagram and describe how eukaryotic photosynthesis works. Include a labeled diagram of the appropriate cell structures,...
Diagram and describe how eukaryotic photosynthesis works. Include a labeled diagram of the appropriate cell structures, and show where each step occurs. (The level of detail for this question should be equivalent to the respiration question. This question is about the fundamental C3 pathway; you don’t need to include photorespiration or alternate photosynthetic pathways.) (no bullet points, essay form)
Diagram and describe how eukaryotic cellular respiration works. Include a labeled diagram of the appropriate cell...
Diagram and describe how eukaryotic cellular respiration works. Include a labeled diagram of the appropriate cell structures. Show where each of the main stages of respiration occurs. (Hints: The book shows several diagrams of various parts of cellular respiration. For this question, I’m asking you to create one integrated diagram that shows all the parts of the process in one diagram. Your diagram can clearly show where everything goes, but you’ll need some text to explain the energy involved. Your...
With the aid of a diagram, explain how “one way mirror works” and how can be...
With the aid of a diagram, explain how “one way mirror works” and how can be improved.  
1. With the aid of a simple diagram: (i) illustrate how interference is observed with Llyod's...
1. With the aid of a simple diagram: (i) illustrate how interference is observed with Llyod's mirror apparatus. Describe expressions to locate the minima and maxima in the interference pattern. With the aid of a suitable diagram (ii) explain how a thin film of refractive index n can be used as an anti-reflective coating on a glass lens with refractive index ng.
How does the OLED produce light? (illustrate answer with energy level diagram)
How does the OLED produce light? (illustrate answer with energy level diagram)
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT