this post was submitted on 06 Jan 2024
842 points (98.7% liked)

Programmer Humor

32455 readers
882 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
[–] FishFace@lemmy.world 30 points 10 months ago (2 children)

If you're using TCP and losing packets you should be panicking though, because something is very wrong...

[–] thejml@lemm.ee 33 points 10 months ago (1 children)

True, but TCP will just resend them, you won’t lose anything but some latency. Meaning it’s something to look into, but not something to panic about.

[–] wischi@programming.dev 2 points 10 months ago (1 children)

You can lose packets. Just cut the cable, but the other side will notice that the transmission is incomplete.

[–] FishFace@lemmy.world 4 points 10 months ago

Shouldn't the engineer be a bit more worried if the cable's been cut?

If UDP drops packets it's probably nothing. If TCP drops packets it's because something's actually wrong.