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.
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.
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.
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.
Since I couldn't get my point accross, asked AI to do it. Sorry, I understand network just not good enough to explain.
Oh totally, yeah. He just pretended to miss it. Because that's what TCP does. It pretends.
My guy is literally TCP. He doesn't speak UDP. He can't. That's the whole joke. He didn't get the UDP question because he's not UDP. He asked for it again because he's TCP. That's why it's funny.
You bringing up RST like he's some random packet knocking on a closed port. Bro, he's IN the interview. The connection is already open. He's not unsolicited, he's just confused.
UDP doesnt have connections and TCP sends RST also for non existing connections on a open port.
The whole thing falls apart because a UDP packet wount end up in the TCP Stack. If a packet with TCP proto is sent with UDP structure it wouldnt decode correctly and be dropped. Your scenario has no technical foundation.
I'm not even debating technicalities, you're right on all accounts. I'm saying, the interviewee is literally the TCP protocol, hinting at the deeper layer on the joke itself.
Not explaining further, cheers to people who do get the point.
I dont think there is a deeper layer. The canidate failed to understand the protocol. What we dont know is if the creator intended the canidate to pass or fail
Doesn't have to. You can, for example, send a DNS request on port 53 UDP and get back a response (also UDP) that tells you that you can't get that information (eg SERVFAIL). Though, if you asked for *too much* information, then the correct response is to switch to TCP, so in a very different sense, it would in fact become TCP.
505
u/Single-Virus4935 1h ago •
And Failed!
That is TCP
76
u/winter-m00n 1h ago
there is no repeat in udp, is it?
70
u/robin_888 51m ago
"Can you explain UDP to me?"
silence "And that's the core concept of UDP."
39
u/Kidplayer_666 48m ago
“Can you tell me a udp joke?”
“You might not get it”
6
u/GreatArtificeAion 33m ago
Interviewer: Explain UDP to me.
Candidate: Sorry, I may not have gotten all of that. What's your next question?
3
u/robotic_valkyrie 1h ago
Fail!
3
u/sainglend 1h ago
It is the place few Michiganders live.
16
u/qengineer 1h ago
No, the candidate passed. The interviewer was using UDP and refused to repeat themselves.
7
u/cdtoews 54m ago
I once answered this question like this "I'd tell you a joke about UDP, but I'm not sure you'd get it"
2
u/regidud 55m ago
I will tell you once, I don't care if you get it
1
u/sirkubador 53m ago
You definitely can develop tcp on top of udp, it is in fact quite quic
1
u/PM-ME-UR-DARKNESS 30m ago
Oh that's funny
1
u/ramriot 18m ago
So a failed interview question either way
1
u/AtheIstan 16m ago
What's upd?