TCP retransmission sends a segment again when its acknowledgment is not received within the retransmission timeout or its integrity check fails. It helps TCP provide reliable, sequenced communication: the receiver acknowledges each segment by identifying the next sequence number it expects. section 22.2.1
Lost segment
PC1 sends a segment with sequence number 26, but the segment does not reach SRV1. Because PC1 receives no acknowledgment, it retransmits the segment; SRV1 then receives and acknowledges it.
Keep these protocol behaviors distinct:
- TCP uses acknowledgments and retransmissions to recover from lost segments. section 22.2.1
- UDP provides error detection through a checksum but does not retransmit messages with errors or messages that are lost. section 22.2.2
