this post was submitted on 21 Jul 2023
1242 points (99.8% liked)

Programmer Humor

37182 readers
102 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 2 years ago (24 children)

This is a really good way of explaining the difference.

[–] becool@kbin.social 14 points 2 years ago (21 children)

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

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