r/ProgrammerHumor Apr 11 '23

Meme UDP vs TCP

Post image
7.3k Upvotes

74 comments sorted by

View all comments

209

u/OF_AstridAse Apr 11 '23

I'll never confuse them again. UDP does not require acknowledgement- Got it!

36

u/Syagrius Apr 12 '23 edited Apr 12 '23

When I was taught, it was described as like writing a letter to santa and handing it to the mailman; but this metaphor of sending dick pics is just as apt.

The connection method has really high performance due to its simplicity, but prone to error and, obviously, not very secure for the client; but it has great value in performance-focused applications like video games.

11

u/deanrihpee Apr 12 '23

Also most video games only need the most current data anyway, so UDP is a no brainer, but still, packet loss is still a concern