That would still be wrong. The two way communication is a feature of TCP. I think the best answer, which I am not clever enough to come up with would be riffing on "dp to me"
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.
The app won't surely know anything, because it's not built into the protocol. You can technically make UDP seem mostly sort of like TCP with a bunch of extra shims in compute, but that has nothing to do with the protocol used.
Also, Layer 5 is Session layer, where stream connections are managed. Layer 7 is application, where additional logic would need to be added to get UDP to pretend to have reliability. There are elements at layer 4 that would be used for implementing the sequencing needed, but app code would actually perform the handling. As per the name, the Session layer just ensure reliability for the connected session itself and not the individual packets.
And obligatory acknowledgement that the OSI model is just a model.
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.
744
u/Single-Virus4935 2h ago •
And Failed!
That is TCP
166
u/robin_888 1h ago
"Can you explain UDP to me?"
silence "And that's the core concept of UDP."
104
u/winter-m00n 1h ago
there is no repeat in udp, is it?
70
u/Kidplayer_666 1h ago
“Can you tell me a udp joke?”
“You might not get it”
18
u/GreatArtificeAion 1h ago
Interviewer: Explain UDP to me.
Candidate: Sorry, I may not have gotten all of that. What's your next question?
9
u/Martin-Hatch 31m ago
Interviewer: Can you explain TCP?
Candidate: Can we shake hands first?
7
u/TheFel0x 47m ago
This has got to be ragebait.
6
u/sainglend 1h ago
It is the place few Michiganders live.
4
u/Gen_Hospital 34m ago
Technically, they should just wait untill the interviewer repeats themselves, or the interviewer should just ask 3 (or 5) times unprompted.
19
u/qengineer 2h ago
No, the candidate passed. The interviewer was using UDP and refused to repeat themselves.
3
u/robotic_valkyrie 1h ago
Fail!
7
u/cdtoews 1h 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 1h ago
I will tell you once, I don't care if you get it
2
u/sirkubador 1h ago
You definitely can develop tcp on top of udp, it is in fact quite quic
3
u/AtheIstan 1h ago
What's upd?
1
u/PM-ME-UR-DARKNESS 1h ago
Oh that's funny
1
u/ramriot 1h ago
So a failed interview question either way
1
u/OnceMoreAndAgain 11m ago
You're not the boss of me now and you're not so big.