System InternalsLearn ↗TCP vs UDPTCPUDP

TCP vs UDP — pick a scenario

0/3 done

Pick one and press Start, then click Next › to step through it.

Watch for

TCP's retransmit filling the gap so the message is whole, while UDP delivers 'GET data' — the lost 'index' never arrives.

More about this scenario
You'll learn

The fundamental trade between TCP and UDP — guaranteed, ordered delivery versus raw speed with no safety net.

How it runs

TCP handshakes, numbers its segments, spots the dropped one from a missing ACK, and retransmits so the bytes arrive in order. UDP just fires datagrams; the dropped one is gone. The final UDP send has no loss and arrives fine.