this post was submitted on 11 Dec 2023
1126 points (98.5% liked)

Programmer Humor

32479 readers
240 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] 31 points 11 months ago (14 children)

You forgot to mention that you might get it twice, or thrice, or more, and in different versions.

[–] [email protected] 9 points 11 months ago (12 children)

(novice) Why would you get UDP packets multiple times? UDP doesn't check for acceptance I thought.

[–] [email protected] 21 points 11 months ago (10 children)

From StackOverflow:

Switches will send packets to all interfaces when using broadcasts or under extreme conditions (full MAC Address Table). This can lead to duplication if there is a loop between two or more switches and if the Spanning Tree Protocol is not used. So the answer is rarely.

https://stackoverflow.com/questions/9196791/duplicate-udp-packets-how-often-it-happens#9220574

[–] [email protected] 5 points 11 months ago (1 children)

Don’t the big internet-y routers also send packets to multiple interfaces if they don’t know how to correctly handle the target IP address?

[–] [email protected] 3 points 11 months ago (1 children)
[–] [email protected] 1 points 11 months ago

No clue. My college course wasn’t all that deep, and it’s been quite some time.

load more comments (8 replies)
load more comments (9 replies)
load more comments (10 replies)