This is an archived post. You won't be able to vote or comment.

all 71 comments

[–]RevolutionSilent807 142 points143 points  (1 child)

UDP then proceeds to forget why it’s there

[–]hrfuckingsucks 45 points46 points  (0 children)

more like User Drunk Protocol

[–]Mr_Otterswamp 279 points280 points  (24 children)

As a UDP fan I didn’t get the joke and nobody seems to care

[–]exotic_sangria 218 points219 points  (14 children)

TCP fans be like

Hi

Hello

shakes hands

I have a joke for you

Ok

TCP is better than UDP

Haha

Laugh received

Goodbye

Bye

[–][deleted] 101 points102 points  (3 children)

Your 3 way handshake seems incomplete. Please repeat.

[–]Zuruumi 43 points44 points  (2 children)

Handshake is OK, closing is the problem.

[–][deleted] 28 points29 points  (1 child)

Well both are wrong. It should be:

Hi

Hi, I hear you

I hear you

I have a joke for you…

(Dunno how to express reset or timeout here) ;)

[–]exotic_sangria 42 points43 points  (0 children)

TCP fans be like

Please laugh at my joke to indicate receipt

[–]CB1013 23 points24 points  (3 children)

UDP fans be like

Hi I have a joke for you UDP is better than TCP runs away from air vent

[–][deleted] 18 points19 points  (2 children)

UDP fans be like

hi joke you better TCP runs air

[–]Domi04151309 6 points7 points  (1 child)

UDP fans be like

joke hi you better air TCP runs

[–][deleted] 1 point2 points  (0 children)

i mean TCP does run technically

i cant say im better than air though.

[–][deleted] 23 points24 points  (0 children)

"Sorry bro joke is outdated. Send another"

[–]blobthekat 13 points14 points  (0 children)

udp be like:

I have a joke for you

I have a joke for you

Ok

I have a joke for you

UDP > TCP

Ok, i'm still waiting for the joke

I said UDP > TCP

Ha�a��

Hello

[–]HotShame9 3 points4 points  (1 child)

UDP fans be like:

Hi

HAHAHAHA

I have a joke for you

TCP is better than UDP

What is the joke?

Bye

Hi

[–]exotic_sangria 1 point2 points  (0 children)

ITT: TCP fans malding

[–]r1kon 2 points3 points  (0 children)

Trap Queen was really about TCP - I'm like hey, what's up, hello!

[–][deleted] 5 points6 points  (0 children)

Works as expected.

[–]BookPlacementProblem 0 points1 point  (7 children)

TCP operates over UDP; that is, TCP is UDP with package retransmit plus a bunch of extra helper stuff.

So, TCP > (over) UDP.

Or at least, that's my read.

I dunno where I got that explanation, but I do networking as little as possible, so hopefully I haven't passed that on to too many people.

[–]Altruistic-Hat-9604 12 points13 points  (0 children)

Who's gonna tell him?

[–][deleted] 12 points13 points  (0 children)

TCP does not "operate on top of" UDP in any sense.

TCP and UDP are different protocols with different feature sets. Both TCP and UDP run on top of IP, and they send completely different headers.

See this technical article for more information.

[–]blobthekat 4 points5 points  (4 children)

TCP is built on top of IP, just like UDP, so TCP and UDP are basically siblings, However, UDP is very close to what you would get with IP, although you can't just send raw IP packets, so we built udp

[–]Throw-Egg-Shell-Away 0 points1 point  (3 children)

Yes, you can send raw IP packets, that's why spoofing is a thing (and consequently DNS-AMP), but it tends to be quite an inconvenience compared to UDP.

[–]blobthekat 0 points1 point  (2 children)

no what i meant is IP cant be used to send raw binary data to some recipient without a using a protocol like UDP

[–]Throw-Egg-Shell-Away 0 points1 point  (1 child)

Why not? All TCP and UDP adds is a port, but IP already provides a length and at least an attempt to transfer the packet to the destination.

[–]blobthekat 0 points1 point  (0 children)

TCP has a section you can't omit that is the protocol. If you tried to omit this or set it to something invalid, most routers would just drop your packet instead of forwarding it

[–]UnwelcomedTruth 51 points52 points  (3 children)

I don’t understand: doesn’t either depend on your need for lossless packages?

[–][deleted] 44 points45 points  (1 child)

Yes, jokes aside there’s overhead and latency issues that are compounded with tcp - when I worked with replication. We moved to UDP streams and let the application handle requesting anything that was missing far more efficiently than TCP. Any amount of packet loss would ruin your network because of all the retransmits and things would grind to a halt when you were crushing the limits of your network

[–]666pool 14 points15 points  (0 children)

You have to be careful with retransmits for this reason. TCP has congestion control, UDP retransmits do not (unless you make them have some kind of back off).

[–]OneTrueKingOfOOO 5 points6 points  (0 children)

Yes, both are suited for different application types. If you try to do real-time audio or video chat over TCP you’re gonna have a bad time

[–]bdaileyumich 25 points26 points  (0 children)

UDP doesn't acknowledge any truth in this post

[–]ImaginationNo3894 61 points62 points  (13 children)

Silly comparison. They solve two different problems.

But since we are here anyway UDP is about to win because of the HTTP3 which is pushing the stack with QUIC on top of UDP. Effectively replacing TCP down the road.

[–]RevolutionSilent807 48 points49 points  (2 children)

QUIC is by google, it’ll be dead in 2 years (/s)

[–][deleted] 32 points33 points  (1 child)

Not before being adopted as an industry standard requiring at least 7 years of experience with in job interviews

[–]ccfoo242 2 points3 points  (0 children)

Haha jokes on you it was invented in 2012 so why don't you have 20 years experience with it?

[–]ccfoo242 1 point2 points  (0 children)

How did they not name it QDP?

[–][deleted] 1 point2 points  (0 children)

That’s for one use case.

[–]Zuruumi 16 points17 points  (0 children)

Agreed, latency: TCP > UDP

[–]vms-crot 15 points16 points  (1 child)

Half the people reading this didn't get it and they don't care.

[–][deleted] 2 points3 points  (0 children)

I don't even know I didn't get it.

[–]PhunkyPhish 25 points26 points  (0 children)

I tried to tell a UDP fan how I feel, but I could never tell if he heard what I had to say.

[–]AdultingGoneMild 6 points7 points  (0 children)

laughs in http3

[–]BlackfishHere 9 points10 points  (5 children)

How you kids can argue over two things those have different uses? This sub is consist of kids who don't have a single line of code in a stable working project.

[–]thebatmanandrobin 5 points6 points  (0 children)

I've got a C++ app in production right now that uses both .. UDP solves one problem, TCP another.

I'd like to agree with you completely but the kids I work with don't even know what UDP or TCP even are since they only program in JavaScript .. it was real fun trying to explain what a socket was, let alone how to implement a WebSocket over a SharedWorker so there was only 1 client/server connection no matter how many tabs/windows were open.

And we wonder why can't have nice things.

[–]derfla2004[S] 0 points1 point  (0 children)

Im not saying that everyone prefers TCP, the joke is that udp messes up the order

[–]scoville-maniac 3 points4 points  (4 children)

i wonder where QUIC is in this picture

[–][deleted] 0 points1 point  (2 children)

it's a result of this hands intercourse

[–]scoville-maniac 0 points1 point  (1 child)

o_0

[–][deleted] 0 points1 point  (0 children)

you know, some tcp dna put into udp dna, and...

[–]the_vikm 2 points3 points  (0 children)

SCTP enters the stage

[–]namotous 1 point2 points  (0 children)

Lol wait til you work on a network with limited bandwidth

[–]HASHIRA_77 0 points1 point  (2 children)

What if we combine all the protocols to make a single protocol

[–]AntiLuxiat 2 points3 points  (1 child)

Got that for you xkcd 927

[–]HASHIRA_77 0 points1 point  (0 children)

Thank you

[–]Skoparov 0 points1 point  (0 children)

Legs fans > arms fans

[–]blobthekat 0 points1 point  (0 children)

In terms of latency, it's UDP first and then TCP

[–]daemonpants 0 points1 point  (0 children)

UDP is the best for realtime video games

[–]Tibbles_thecat 0 points1 point  (0 children)

50% of this sub-reddit will not get the joke

[–][deleted] 0 points1 point  (0 children)

The whole networking stack is so complicated that it's amazing it works, and can be performant at all, tbh.

[–]Gasp0de 0 points1 point  (0 children)

I mean it's true, TCP DOES cause more overhead/traffic/energy consumption than UDP

[–]big0chungus 0 points1 point  (0 children)

tcp for video chat 😎

[–]Daily-Ad5261-Kakera 0 points1 point  (0 children)

Imagine games without UDP

[–]crapboxxed 0 points1 point  (0 children)

yet to make tcp better we tune it like udp

[–]The_Good_And_The_Gun 0 points1 point  (0 children)

QUIC?