Complete the sentence to describe the purpose of TCP flow control.
TCP flow control uses a [1] to manage the amount of data sent before receiving an acknowledgment.TCP flow control uses a sliding window to control how much data can be sent before waiting for an acknowledgment from the receiver.
Complete the sentence to explain what the window size represents in TCP flow control.
The window size in TCP flow control represents the [1] of data the sender can transmit without waiting for an acknowledgment.
The window size is the maximum amount of data the sender can send before needing an acknowledgment, helping to prevent overwhelming the receiver.
Fix the error in the statement about sliding window movement.
The sliding window moves forward when the sender receives a [1] from the receiver.
The sliding window advances when the sender receives a positive acknowledgment (ACK), indicating data was received successfully.
Fill both blanks to complete the explanation of how the sliding window adjusts.
The sender adjusts the window size based on the [1] value sent by the receiver and [2] network conditions.
The sender uses the advertised window size from the receiver and considers network congestion to adjust the sliding window for efficient flow control.
Fill all three blanks to complete the dictionary comprehension representing TCP window updates.
window_updates = [1]: [2] for [3] in packets if packets[[3]] > 0
This comprehension creates a dictionary where each sequence number (seq_num) maps to its window size, including only packets with positive size.