this post was submitted on 21 Jul 2023
1166 points (97.5% liked)

Programmer Humor

32482 readers
483 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 69 points 1 year ago (24 children)

This is a really good way of explaining the difference.

[–] [email protected] 13 points 1 year ago (21 children)

So, UDP just sends it out there and anyone can intercept it?

[–] [email protected] 3 points 1 year ago

You'd have to be somewhere in the route from A to B to intercept it. But TCP is no different in that regard.

TCP is connection based so both sides need to agree to connect before data is exchanged. UDP is connectionless, so it will send data from A to B (and vice versa) regardless of if the other side is available.

load more comments (20 replies)
load more comments (22 replies)