TCP sequence numbers and ACKs (1). Consider the TCP Telnet scenario below (from Fig. 3.31 in text). Why is it that the receiver sends an ACK that is one larger than the sequence number in the received datagram?Group of answer choicesBecause TCP sequence numbers always increase by 1, with every new segment, and the TCP receiver always send the sequence number of the next expected segmentBecause the send-to receiver segment carries only one byte of data, and after that segment is received, the next expected byte of data is just the next byte (i.e., has an index that is one larger) in the data stream.
Question
TCP sequence numbers and ACKs (1). Consider the TCP Telnet scenario below (from Fig. 3.31 in text). Why is it that the receiver sends an ACK that is one larger than the sequence number in the received datagram?Group of answer choicesBecause TCP sequence numbers always increase by 1, with every new segment, and the TCP receiver always send the sequence number of the next expected segmentBecause the send-to receiver segment carries only one byte of data, and after that segment is received, the next expected byte of data is just the next byte (i.e., has an index that is one larger) in the data stream.
Solution
The receiver sends an ACK that is one larger than the sequence number in the received datagram because the send-to receiver segment carries only one byte of data. After that segment is received, the next expected byte of data is just the next byte (i.e., has an index that is one larger) in the data stream. This is how TCP sequence numbers work - they always increase by 1 with every new segment, and the TCP receiver always sends the sequence number of the next expected segment.
Similar Questions
TCP sequence numbers and ACKs (2). Suppose that as shown in the figure below, a TCP sender is sending segments with 100 bytes of payload. The TCP sender sends five segments with sequence numbers 100, 200, 300, 400, and 500. Suppose that the segment with sequence number 300 is lost. The TCP receiver will buffer correctly-received but not-yet-in-order segments for later delivery to the application layer (once missing segments are later received). Complete the sentences below ....After receiving segment 100, the receiver responds with an ACK with value: After receiving segment 200, the receiver responds with an ACK with value: After receiving segment 500, the receiver responds with an ACK with value: After receiving the retransmitted segment 300, the receiver responds with an ACK with value:
Consider the figure below, where a TCP sender sends 8 TCP segments at t = 1, 2, 3, 4, 5, 6, 7, 8. Suppose the initial value of the sequence number is 0 and every segment sent to the receiver each contains 100 bytes. The delay between the sender and receiver is 5 time units, and so the first segment arrives at the receiver at t = 6. The ACKs sent by the receiver at t = 6, 7, 8, 10, 11, 12 are shown. The TCP segments (if any) sent by the sender at t = 11, 13, 15, 16, 17, 18 are not shown.The segment sent at t=4 is lost, as is the ACK segment sent at t=7.What is the sequence number of the segment sent at t=2? What is the ACK value carried in the receiver-to-sender ACK sent at t = 6? What is the ACK value carried in the receiver-to-sender ACK sent at t = 8? What is the ACK value carried in the receiver-to-sender ACK sent at t = 10?
A TCP receiver must send an acknowledgement for every segment it receives.Group of answer choicesTrue: for the sender to know that the bytes in each segment have been received the receiver must ACK each segment individually.False: TCP uses cumulative acknowledgements, so the receiver need only send an acknowledgment for the bytes in the segment with the largest sequence number that has been successfully received.
Can you identify cases where the receiver is ACKing every other received segment (see Table 3.2 in the text) among these first ten data-carrying segments?Group of answer choicesNo. Each of the first 10 ACKs acknowledges exactly 1448 bytes of payload data.Yes! After the first ACK every remaining ACK acknowledges two segments' worth of payload data.Yes! Every ACK acknowledges two segments' worth of payload data.
Which segment is sent by the client to synchronize sequence numbers during the three-way handshaking process?ACK segmentSYN + ACK segmentFIN segmentSYN segment
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.