0

I'm reading the RFC 793.

https://www.ietf.org/rfc/rfc793.txt

The acknowledgment mechanism employed is cumulative so that an acknowledgment of sequence
  number X indicates that all octets up to but not including X have been
  received.  This mechanism allows for straight-forward duplicate
  detection in the presence of retransmission.

I am stuck here. I am wondering how is that possible?

1 Answer 1

0

You need to read the whole section - the current version of TCP is in RFC 9293 (emphasis mine):

3.4. Sequence Numbers

A fundamental notion in the design is that every octet of data sent over a TCP connection has a sequence number. Since every octet is sequenced, each of them can be acknowledged. The acknowledgment mechanism employed is cumulative so that an acknowledgment of sequence number X indicates that all octets up to but not including X have been received. This mechanism allows for straightforward duplicate detection in the presence of retransmission.

"This mechanism" refers to the sequence numbering, not necessarily to cumulative acknowledgement. Without sequence numbers, you'd be hard pressed to detect duplicate transmissions.

1
  • I see, so when a packet arrives that contains the same sequence number as the another received segment, the destination TCP simply discards the packet. Aug 18 at 12:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.