this post was submitted on 06 Jan 2024
858 points (98.8% liked)

Programmer Humor

32070 readers
611 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] 30 points 8 months ago (2 children)

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

[–] [email protected] 33 points 8 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.

[–] [email protected] 2 points 8 months ago (1 children)

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

[–] [email protected] 4 points 8 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.