Web Science/Part1: Foundations of the web/Transmission Control Protocol/Sliding window and flow control/quiz

From Wikiversity
Jump to navigation Jump to search

1 How do you calculate the maximum number of different packets you are allowed to send on a TCP connection without acknowledgement assuming the packet size exceeds the maximum segment size (mss)?

the window size header field corresponds to the maximum number of packets
window size divided by the mss of the receiver
window size divided by the mss of the sender
window size divided by the minimum mss of the sender and receiver.

2 What is the purpose of sliding windows in TCP?

to protect slow network interfaces to be overload with traffic from fast network interfaces
to decrease the latency while using the Stop and Wait heuristic
to reassemble files in the correct order
to ensure the reliability of the protocol