this post was submitted on 21 Jul 2023
1201 points (97.5% liked)

Programmer Humor

32448 readers
1042 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
[–] Clent@lemmy.world 27 points 1 year ago (4 children)

No. UDP is at the packet level. Interception is a different layer.

To use to today's language, UDP yeets the packets at you as fast as it can generate them.

It doesn't care if you catch any of them.

Don't yeet the baby.

[–] b3nsn0w@pricefield.org 40 points 1 year ago (1 children)

actually, do yeet the baby if you have an application with different needs. for example, if you want to play a game, you're better off yeeting 60 babies a second and just hope that whoever is on the side catches enough of them to get a smooth stream of babies, than making sure every baby is handed gently to the next person and get the whole line clogged up the moment anything disrupts it. if you just use the yeetomatic 3000 you're always getting fresh babies on the other end, a few might just be dropped in the process

[–] Marxine@lemmy.ml 18 points 1 year ago* (last edited 1 year ago)

Getting a smooth stream of babies is a sentence that has no right in being this funny. I wheezed hard

[–] MxM111@kbin.social 7 points 1 year ago (1 children)

Don’t yeet the baby.

or at least care if you catch any of them.

[–] andrew@lemmy.stuart.fun 4 points 1 year ago (3 children)

I mean generally, I don't think we yeet babies. We yeet lots of things, but usually not babies.

[–] over_clox@lemmy.world 5 points 1 year ago
[–] over_clox@lemmy.world 4 points 1 year ago
[–] over_clox@lemmy.world 4 points 1 year ago
[–] Parallax@kbin.social 3 points 1 year ago* (last edited 1 year ago) (1 children)

What do you mean interception is at a different layer? You can capture at any layer as long as the payload isn't encrypted, and if it is, you still get layers 1 through 4 (Physical, Link, Network, and Transport).

[–] andrew@lemmy.stuart.fun 7 points 1 year ago

UDP is a transport protocol. OSI layer 4. It sits atop the packet (network/L3) layer which is where IP dictates where a packet is going. A broadcast or multicast IP address would mean it can be observed by many machines, but unicast is still the most common, and is routed to just one machine.

[–] UltraMagnus0001@lemmy.world 1 points 1 year ago

Is it like multicast or are they the same?