r/ProgrammerHumor • • 2h ago

Meme explainUdpToMe

Post image
1.2k Upvotes

63 comments sorted by

View all comments

Show parent comment

3

u/TohveliDev 1h ago

But then if the interviewer does repeat the question, it becomes TCP.

3

u/Skycl4w 1h ago

They should also agree that they are talking to each other before asking questions. Consent matters.

1

u/rosuav 1h ago

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.

1

u/dinklezoidberd 1h ago

That’s a good point! I’d like to shake your hand.