r/ProgrammerHumor • • 1h ago

Meme explainUdpToMe

Post image
1.1k Upvotes

59 comments sorted by

View all comments

697

u/Single-Virus4935 1h ago • Bravo Popcorn

And Failed!

That is TCP

229

u/TheTybera 1h ago

Yup failed.

UDP don't give a shit about packet integrity or dropped packets.

59

u/The_Hunster 1h ago

Punchline isn't quite as good if you just stare blankly. Or maybe that makes it a lot better

12

u/SeriousPlankton2000 1h ago

It DOES have a checksum.

2

u/Roku-Hanmar 11m ago

But it doesn’t have a retransmission request

4

u/shaka893P 20m ago

Which is why the example is TCP. The answer should have been: "I'm sorry I didn't get all of your question, but I'm gonna try to answer it anyway"

10

u/2Tack 50m ago

I scrolled past this post and then went.... Wait a minute. UDP wouldn't respond so this punchline sucks. Came back to look at the comments and wasn't disappointed.

5

u/ramdomvariableX 45m ago

Will be funnier if the candidate starts talking about Upper Peninsula (UP: Michigan, US) or Uttar Pradesh (UP: India). because he missed the 'D'.

6

u/ElSucaPadre 1h ago

if we want to be fair, depends on which layer candidate and interviewer are.

14

u/Single-Virus4935 1h ago

Nope, they asked about UDP which is Layer 4.

2

u/qqqrrrs_ 1h ago

There are protocols where the reliability is implemented in the application layer, over UDP

15

u/Single-Virus4935 1h ago edited 1h ago

Yes, they exists. I know. For.example QUIC. But that isnt UDP.

If I ask you about how roads are build you wount explain how a car works.

Man, folks.. Stay focused when explaining protocols.

Edit: QUIC is technically also Layer 4 

-2

u/ElSucaPadre 1h ago

lol yes but if the application on level 5 is using udp it will surely know if they're missing something important

9

u/InDubioProReus 1h ago

You probably wouldn’t use UDP if there’s anything important to miss.
It’s meant for traffic where the latest state is gold, like multiplayer games, video calls etc.

3

u/yahluc 1h ago

But an application can have its own retry mechanism when using UDP with its own rules. Like sometimes old data is important, but not important enough to block the rest of transmission like TCP does.

→ More replies (1)
→ More replies (1)

3

u/Single-Virus4935 1h ago

Not necessarily and they didn't ask about another protocol, they ask about UDP. The Interviewer has to stay in this layer if he wants to demonstrate how it works.

1

u/ElSucaPadre 1h ago

yes but this isn't a real interview, it's a joke

1

u/Single-Virus4935 1h ago

Still a bad joke and people show that shows that people are missing fundamentals. Good oportunity to learn why this joke is just nonesense

1

u/capi1500 1h ago

Unless it's the first packet sent from a client to server

2

u/Proper-Ape 1h ago

This is the brain layer having to make up for an unreliable transport layer.

1

u/Single-Virus4935 1h ago

That wasn't the question. If so, candidate mixed layers and failed 

2

u/Proper-Ape 1h ago

But he didn't get the question. How should he answer it?

2

u/Single-Virus4935 38m ago

The receiver wouldnt know that the Packets are missing. The udp stack wouldn't react at all.

1

u/otkpro 1h ago

okay I can hear you now

2

u/Single-Virus4935 1h ago

Another one who doesn't understand udp

→ More replies (6)