Recommended Free Tools
TCP delivers an ordered byte stream by keeping track of which bytes have arrived, checking segments for errors, and retransmitting data that has not been acknowledged. It does not make the IP network infallible. “Never trusts the network” is a metaphor for the checks TCP’s endpoints perform—not a guarantee that a connection will stay available or that a remote application is alive.
What TCP reliability means
TCP provides applications with a reliable, in-order byte stream. Applications send and receive a stream of bytes; TCP divides outgoing data into segments and carries them in IP datagrams. Because those datagrams can be lost, duplicated, damaged, or delivered out of order, the TCP endpoints use protocol mechanisms to reconstruct the stream. The standard’s description of the service and its reliability mechanisms appears in RFC 9293, the Internet Standard published in August 2022.
As an Amazon Associate I earn from qualifying purchases.
This means TCP’s unit of application data is not a preserved “message” or one network packet. TCP’s job is to make the bytes arrive in order at the other endpoint, as long as the connection and endpoints can continue operating.
How sequence numbers and acknowledgments work
Sequence numbers identify byte positions
TCP assigns sequence numbers to data bytes. A segment therefore covers a range of byte positions, rather than simply being assigned a packet number. The sequence-number space is 32 bits, ranging from 0 to 232 − 1; arithmetic wraps modulo 232, as specified in RFC 9293, Section 3.4.
#1 Best Overall
- Used Book in Good Condition
Cumulative acknowledgments report the next byte expected
An acknowledgment is cumulative: an ACK for sequence number X means the receiver has accepted all bytes before X in order and is expecting byte X next. As ACKs arrive, the sender can tell what stream progress the receiver has acknowledged. If a segment is retransmitted, sequence numbers also help the receiver recognize data it has already received rather than treating it as new bytes.
What happens when a TCP segment is damaged or lost?
Checksums detect errors
TCP includes a checksum in each segment. If the checksum indicates an error, the receiver does not accept that segment as correct stream data. The checksum detects corruption; it does not repair it.
Rank #2
Retransmission recovers unacknowledged data
If data remains unacknowledged, TCP can retransmit it. The sender uses a retransmission timeout that is computed dynamically because network conditions and uses vary. Once the missing data arrives and is acknowledged, the ordered stream can continue. RFC 9293 summarizes the approach as detecting losses through sequence numbers and errors through per-segment checksums, then correcting through retransmission.
In practice, loss can delay later bytes from reaching the application in order while TCP recovers the gap. That is the trade-off of ordered delivery: the application receives a coherent stream rather than being handed later bytes ahead of missing earlier ones.
Rank #3
What TCP reliability does not guarantee
TCP is connection-oriented, but the protocol does not inherently include a liveness detection capability. A connection being established—or data having been acknowledged—does not prove that the remote application is currently running, that the network will eventually recover, or that an application-level operation completed successfully.
For example, an acknowledgment confirms receipt of bytes by the receiving TCP endpoint, not that a server parsed a request, committed a database change, or returned a result. Applications that need to know whether an operation succeeded must use application-level responses or other safeguards. TCP’s reliability is about ordered byte-stream delivery between endpoints while they can continue operating, not perpetual availability or task completion.
Quick Recap
Best Value
Rank #4
- Data Communications and Networking with TCP/IP Protocol Suite 6th Edition by Behrouz A. Forouzan
- Data Communications and Networking with TCP/IP Protocol Suite 6th Edition
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.




