this post was submitted on 21 Jul 2023
1210 points (97.3% liked)

Programmer Humor

31748 readers
383 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
[–] TheSaneWriter@lemmy.thesanewriter.com 72 points 1 year ago (24 children)

This is a really good way of explaining the difference.

[–] becool@kbin.social 13 points 1 year ago (21 children)

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

[–] Parallax@kbin.social 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)