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

Programmer Humor

32394 readers
674 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 10 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 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 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.

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