UDP and TCP
Related terms: transport, reliable, unreliable, packet
The two ways to send data over the internet. TCP guarantees that everything arrives, in order. When one packet is lost, everything behind it waits for the resend, which the player feels as a freeze.
UDP makes no promises. Packets can arrive late, out of order or not at all, but nothing ever waits. Fast games use UDP, because an old position update is worthless anyway, and add their own reliability only for messages that must arrive.
- Further reading
- Glenn Fiedler: UDP vs. TCP