UDP
A protocol that sends data without opening a connection or checking whether it arrived. Fast, but it can lose data.
Analogy
Like shouting across a field: it gets there fast, but if someone didn't hear, you don't repeat it.
Test yourself: UDP
TCP and UDP
UDP sends data without opening a connection first.
UDP is connectionless: the first packet leaves immediately. TCP first does a round trip, which with a server 100 ms away is already 100 ms of waiting.
TCP and UDP
Which of these uses fits UDP?
In a live match, losing 1 frame out of 30 per second is barely noticeable; waiting to resend it would freeze the picture.
0/2
â–¶ Play