r/ProgrammerHumor • • 2h ago

Meme explainUdpToMe

Post image
1.2k Upvotes

62 comments sorted by

View all comments

Show parent comment

9

u/InDubioProReus 1h ago

You probably wouldn’t use UDP if there’s anything important to miss.
It’s meant for traffic where the latest state is gold, like multiplayer games, video calls etc.

3

u/yahluc 1h ago

But an application can have its own retry mechanism when using UDP with its own rules. Like sometimes old data is important, but not important enough to block the rest of transmission like TCP does.

1

u/Single-Virus4935 1h ago

Yes, but that has nothing to do with UDP. They didn't ask about $PROTOCOL over UDP. They aske d about UDP

-1

u/rosuav 1h ago

"... where the latest state is gold, like multiplayer games". Sends UDP packet to notify the client that the player's gold has changed.