Reliable transmission of TCP messages

networks

Reliable transmission of TCP messages

TCP uses sequence numbers with acknowledgements to increase the reliability of messages. If a message was corrupted or not received it will resend that segment.

Automatic Repeat Request (ARQ)

The most basic implementation of ARQ stops and waits to check if the message was received.

Stop and wait ARQ

In TCP the acknowledgement header is set to be the next sequence number the receiver is waiting to get. There are different ways you can handle unacknowledged messages.

Go back N

Fast retransmit