TCP Acknowledgments
Recall that a TCP connection is a bidirectional, full-duplex logical circuit that consists of outbound and inbound logical pipes for the inbound and outbound byte streams. To account for data sent and received, each byte in the outbound and inbound byte streams is numbered. These numbers are used by TCP for reliable data transfer and are independent of the actual data in the byte streams.
A TCP acknowledgment (ACK) is a TCP segment with the ACK flag set. In an ACK, the Acknowledgment Number field indicates the number for the next byte in the contiguous byte stream that the ACK’s sender expects to receive. Additionally, if the TCP Selective Acknowledgment (SACK) option is present, the ACK can indicate up to four blocks of noncontiguous ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access