r/ProgrammerHumor • • Dec 06 '21

TCP Vs UDP NSFW

Post image
19.6k Upvotes

235 comments sorted by

1.5k

u/TheOwlMarble Dec 06 '21

This is a surprisingly valid way to remember which is which, thanks!

231

u/Scondoro Dec 06 '21

I have struggled for years to keep these two straight in my head. But of course this will likely be the mnemonic device that finally sticks.

12

u/bruhred Dec 06 '21

udp fast tcp slow

1

u/TeddyPerkins95 Dec 07 '21

It sticks alright

1.5k

u/mr_santana Dec 06 '21

UDP guys should be receiving smaller dick than the original.

655

u/TheAJGman Dec 06 '21

Or a much larger one broken into multiple packets

300

u/R8_M3_SXC Dec 06 '21

It was probably huge but loads of packets dropped on the way

100

u/iDrinkFightMilk Dec 06 '21

Oh no! Anyways...

13

u/piberryboy Dec 06 '21

How's your sex life?

14

u/riisen Dec 06 '21

Was great, til i tried the udp protocol :/

33

u/huhIguess Dec 06 '21

If you're dropping huge loads of packets, watch out for viruses!

114

u/catastrophized Dec 06 '21

And received out of order

D 8 =

23

u/piberryboy Dec 06 '21

Ouch

18

u/_E8_ Dec 06 '21

Some duplication though!
88D==D====

5

u/zzmorg82 Dec 06 '21

How is that even possible, lmao.

→ More replies (1)

5

u/TheUnluckyBard Dec 06 '21

"How did he get the beans above the frank??"

3

u/dirtd0g Dec 06 '21

I mean, the ASCII "emoticon" it makes says everything there is to say about that.

21

u/mr_santana Dec 06 '21

ah yes, mutilated dick would make it scarier.

18

u/GoatyGoY Dec 06 '21

Or the balls come before the tip

9

u/Terrain2 Dec 06 '21

in the meme, the balls are earlier in the string than the tip

4

u/dirtd0g Dec 06 '21

Wait... Isn't that normal?

7

u/Cefalopodul Dec 06 '21

And when you reassemble them you get =D==8

9

u/gargamelus Dec 06 '21

Fragments are numbered, so that won't happen. Whole datagrams may be delivered out of order (happens seldom in practice.) But a fragmented datagram with fragments delivered out of order will be correctly reassembled, or not delivered at all.

→ More replies (1)

1

u/Quix_Nix Dec 06 '21

Sounds painful

1

u/binatron Dec 06 '21

*datagrams

1

u/riskyClick420 Dec 06 '21

I swear baby, my payload is yuge. You must've lost some packets or they're still on the way.

1

u/iskela45 Dec 06 '21

Split my cock with a protocol I must.

0

u/[deleted] Dec 06 '21

[deleted]

4

u/MarkusBerkel Dec 06 '21

Tell that to Bobbitt.

93

u/Kidiri90 Dec 06 '21

UDP dick pic:

==8=D==

3

u/Themlethem Dec 06 '21

That's what they all say 🙄

3

u/TurbsUK18 Dec 06 '21

And that’s why they rarely get a response. No one is interested in receiving a small and/or malformed package

140

u/Solintari Dec 06 '21

Just wait until you see the collision domain. It might be half duplex, but its full bootyplex of hot dropped packets just waiting for you.

38

u/MarkusBerkel Dec 06 '21

So dirty. Tell it again.

12

u/Jonnokiwi Dec 06 '21

Just wait until you implement CSMA/CD

Cock Sense Multiple Access with Count Detection.

(Too much?)

1

u/[deleted] Dec 06 '21

Broadcast mfers be yelling "PENIS"

94

u/diodenkn Dec 06 '21

Lol “it’s very nice”, super polite I like it

131

u/TheLordDragon Dec 06 '21

I don’t understand most of this but still got a kick out of it reading the “ACKs” like the aliens from Mars Attacks.

83

u/sillybear25 Dec 06 '21 edited Dec 06 '21

TCP and UDP are two of the most commonly used data transport protocols in the IP suite. The main difference between them is that UDP is a lightweight protocol that sends off packets with no concern for what happens to them after they're sent, while TCP has a more elaborate system of handshakes to establish a connection, send a series of packets, resend any dropped packets, and then close the connection, all while ACKnowledging receipt at every step.

The joke compares the two protocols to dick pics for humorous effect, but the differences between the two don't really have anything to do with consent.

EDIT: Here's a skit by Mehdi Saghdagar on his channel ElectroBOOM which depicts TCP in very broad strokes: https://www.youtube.com/watch?v=IbZx_zCpC-Q
It doesn't go into UDP at all, but for that protocol, picture each Mehdi just throwing the packet at the next one without any of the yelling. Sometimes it reaches the destination successfully, but sometimes one of the Mehdis drops it and just says "oh well, maybe I'll catch the next one".

32

u/RecursiveExistence Dec 06 '21

I picture UDP as the post office. You are sending out a bunch of mail and they will arrive in whatever order the post office decides to sort them and one may fall under a bin.

TCP is more like a courier. It takes a bit more resources (money) but it is more secure, orderly, and less likely to drop your package into a lake.

9

u/[deleted] Dec 06 '21

At least TCP will attempt to retransmit the package if it falls in a lake.

4

u/Beowuwlf Dec 06 '21

Are TCP packets ordered? I remembered they get sent off in batches and they can arrive in whatever order, and then the receiver will be like “hey I received up to packet X!” Or if there’s a gap up to the highest contiguous. But I didn’t think they were ordered

20

u/[deleted] Dec 06 '21 edited Dec 06 '21

Sequence numbers. The receiver will hold onto out-of-order packets (up to the agreed-upon window size) until the missing one times out, and then demand all the following ones be retransmitted. This is why streaming protocols traditionally avoided TCP; it's better to have one packet not make it than it is to wait for multiple packets to be retransmitted.

6

u/arzuros Dec 06 '21

I took this shit in uni and completely forgot it until now. Thanks for the refresher course!

1

u/PatrioTech Dec 08 '21

Does the receiving machine not need to accept the request in TCP? I know it's not about "consent" per se, since the receiving end won't know what's being sent, but they still need to accept a general connection request right? Or can the receiving end not reject the request?

2

u/sillybear25 Dec 08 '21

Yes, the request still needs to be accepted, but that's handled at a different layer. TCP covers what happens after the connection is established.

→ More replies (1)

6

u/chuckdivebomb Dec 06 '21

TCP is actually an acronym for Transdimensional Cathy Protocols, and it's primarily used to send punchlines from the once-popular comic strip Cathy between non-adjacent timelines.

1

u/MorningPants Dec 07 '21

Sounds legit. Will incorporate this knowledge into my college curriculum.

1

u/vigilantcomicpenguin Dec 06 '21

It’s actually the sound of the gag reflex, which is what comes after the TCP.

280

u/ApprehensiveStar8948 Dec 06 '21

what's FIN?

1.1k

u/pine_ary Dec 06 '21

TCP requires every connection teardown to be authorized by Finnish authorities. It contains your permission certificate to cease communicating.

106

u/spektre Dec 06 '21

Finnish authorities

i.e. Linus Torvalds.

That's why he's so grumpy. Lots of TCP session terminations to authorize in a day.

34

u/haackedc Dec 06 '21

I never received a FIN request from your last comment, you are under arrest for ceasing communication. FIN

14

u/lipe182 Dec 06 '21

ACK
FIN

0

u/[deleted] Dec 06 '21

[deleted]

150

u/pine_ary Dec 06 '21 edited Dec 06 '21

Thanks for his service o7

68

u/piberryboy Dec 06 '21

o7

The traditional Finnish symbol of TCP management.

4

u/[deleted] Dec 06 '21

Say what you want about UDP. At least the toll on human life isn’t as large.

Still they’re only Fins…

47

u/FlyByPC Dec 06 '21

I hear they use a hydraulic press to create the certificates. It's not fast, but they can do thousands at once.

10

u/lipe182 Dec 06 '21

That's some FINe tech right there, son!

230

u/Sag3Jar0n Dec 06 '21

FIN is an abbreviation for "Finish" In the normal case, each side terminates its end of the connection by sending a special message with the FIN (finish) bit set.

116

u/ApprehensiveStar8948 Dec 06 '21

ACK

FIN

9

u/Nerf_Me_Please Dec 06 '21

SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN

→ More replies (1)

4

u/looselytethered Dec 06 '21

I think this is the start of a Kathy cartoon

→ More replies (1)

2

u/zil0g80 Dec 06 '21

syn ack ack shitload of acks fin ack fin ack

31

u/DeusDosTanques Dec 06 '21

I always read FIN as in fin in french, which means end

40

u/psbales Dec 06 '21

I'm taking my A+ exam soon; I'm now very confident that I'm not gonna confuse TCP & UDP.

10

u/-Redstoneboi- Dec 06 '21

sure as hell won't after such a godly acronym

45

u/CannibalFruit Dec 06 '21

This made it more easily understandable to me than how my professor explained it in 45 minutes. Wack

4

u/_E8_ Dec 06 '21

All you needed was ...

60

u/aybiss Dec 06 '21

Can't we at least get an ipx vs appletalk joke?

49

u/killdeer03 Dec 06 '21

Almost no one here, probably besides us, is old enough to understand an Appletalk joke, lol.

19

u/MarkusBerkel Dec 06 '21

Let’s get some token ring humor, pls. Or maybe some AT command jokes. Or, some captain crunch frequencies.

11

u/McHildinger Dec 06 '21

does this count? its the only token-ring related humor I'm familiar with https://tpm.amastelek.com/2018/05/dilbert-token-ring.html

3

u/JeremyR22 Dec 06 '21

A token ring joke?

You swapped shifts with your buddy today.
A cable is unplugged somewhere.

2

u/SiliconUnicorn Dec 06 '21

Ahhh the good old blue box

1

u/Wellarmedsmurf Dec 06 '21

//Let’s get some token ring humor, pls. Or maybe some AT command jokes. Or, some captain crunch frequencies.

There was really just the one...

7

u/jdm1891 Dec 06 '21

how do you make an apple talk?

0

u/[deleted] Dec 06 '21

[deleted]

6

u/[deleted] Dec 06 '21

What's a right click?

1

u/WinningAllTheSports Dec 06 '21

I remember it, just. My brother and I would setup our two macs and use AppleTalk to play LAN games like f/a 18 hornet and marathon. Good times.

2

u/Wellarmedsmurf Dec 06 '21

LOL I'm glad I'm old enough to remember routing IPX and Appletalk over RIP. it means I'm too old to have worried about things like "unsolicited dick pics". But lets be honest...Bonjour really isn't that different from Appletalk at the end of the day...

1

u/spektre Dec 06 '21

We could probably get a token ring thing going with the dick pics.

1

u/_E8_ Dec 06 '21

1990 polball: no IPX! Only IP.
2000 polball: Oops. Still no IPX! Only IP.
2012 polball: No netid! IP6 stay stupid liek 4.

17

u/VoxUmbra Dec 06 '21

"I'm going to tell you a UDP joke"

> refuses to elaborate further

> leaves

6

u/JeremyR22 Dec 06 '21

Also the one-liner as old as time UDP itself: "I'd tell you a UDP joke but I'm not sure you'd get it."

12

u/FlyByPC Dec 06 '21

We learned it as "Chuck it and pray" vs. "Signed, sealed, and delivered."

21

u/MarkusBerkel Dec 06 '21

More like “signed, sealed, and delivered, signed by receiver, reacknowledged by sender, then receiver says ‘dude we cool stop’, followed by ‘ok let’s stop’ followed by ‘ok’”.

10

u/balr Dec 06 '21

It's spelled consensual.

1

u/smeenz Dec 06 '21

Came here to updoot this, and discovered that Americans actually spell it with a T, at least according to the interwebs they do.

2

u/digitalgadget Dec 07 '21

Am American. That looks weird. You can't have Consensual without Sensual.

1

u/smeenz Dec 07 '21

That's what I would have thought. Maybe it's an Albany expression.

9

u/Kind-Kaleidoscope358 Dec 06 '21

Thank you. From now on, when I discuss network protocol with my client, I will always think about dick pics. This will just go great. What could possibly go wrong...

5

u/mamwybejane Dec 06 '21

Waiting for an RPC joke

7

u/Mateorabi Dec 06 '21

Don’t have time for an NTP joke.

4

u/Uberzwerg Dec 06 '21

Some people use NTP to get their target receive much bigger dick pics than they could provide themselves.

1

u/ArtSchoolRejectedMe Dec 07 '21

Don't have a name for a DNS joke

5

u/ChivalrousLonda Dec 06 '21

Gonna use this to teach my intern about networking

7

u/cmac2200 Dec 06 '21

Step-intern?

4

u/[deleted] Dec 06 '21

so Tim Paine was just following UDP protocol? rough for him to lose Aussie captaincy for that

4

u/[deleted] Dec 06 '21

People

Don't

Need

Those

Stupid

Packets

Anyway

6

u/[deleted] Dec 06 '21

Application layer: Message received but not understood.

5

u/A_Doormat Dec 06 '21

Please do not throw salami pizza away.

4

u/IICVX Dec 06 '21

Excellent example, also demonstrates that TCP is the reason why the internet is full of SYN.

4

u/sam_matt Dec 07 '21

I don't think ACK is the response I want

3

u/[deleted] Dec 06 '21

ACK

2

u/LuxNocte Dec 06 '21 edited Dec 06 '21

Great joke. I know I'm overthinking it, but the difference is that TCP and UDP are both perfectly acceptable, roughly equivalent standards, useful in different situations. I am unaware of any use cases for Unsolicited Dick Protocol.

2

u/capn_ed Dec 06 '21

UDP is great when you have a very reliable connection and you are unlikely to have mucb packet loss, and a few missed packet aren't a big deal, because there's no connection setup like in a TCP connection. But when the reliable connection assumption goes away, you can have problems if you need to get your packets.

Seems obvious, but I've seen cases in my work of someone who designed some network exchange, tested it in the lab with good results, and then had a problem in the real world when the UDP transport was not pristine.

1

u/HibeePin Dec 06 '21

With streaming, voice calling, or playing video games, speed and instant transmission is important and some lossyness is fine, so UDP is used.

2

u/KentondeJong Dec 06 '21

Would you like to see my peepee?

2

u/[deleted] Dec 06 '21

It's when UDP gives no shits

2

u/arzuros Dec 06 '21

ACK?

2

u/heartsongaming Dec 06 '21

ACK stands for Acknowledged. It is a common abbreviation for packet behavior in TCP protocol. The user and server first acknowledge each other with a defined TCP header, send their packets and finally send FIN (Finish) when they are done.

2

u/textilepat Dec 06 '21

Are reddit videos transmitted over UDP? That’s the only way I can imagine we get progress bars that look like a friendship bracelet.

2

u/qqqrrrs_ Dec 06 '21

what about SCTP?

1

u/[deleted] Dec 06 '21

That's a very complicated way to say "I didn't get it".

1

u/_E8_ Dec 06 '21

Gross.

2

u/Individual-Notice-16 Dec 06 '21

People do seem to yell “ACK!” Whether it is unsolicited or not

3

u/[deleted] Dec 06 '21

Take my upvote, good sir/lady

1

u/stoprockandrollkids Dec 06 '21

As someone who's only worked with UDP, is TCP really that ridiculous towards the end or is that exaggerated? The acks seem totally inconsistent

1

u/A_Doormat Dec 06 '21

Session teardown is the same as handshake. 3 packets. Fin. Fin/ack. Ack.

Last ack is negotiable. Not necessary really.

0

u/[deleted] Dec 06 '21

[deleted]

3

u/A_Doormat Dec 06 '21

It’s:
FIN.

FIN/ACK.

ACK.

So basically saying “Ok I’m leaving now” and the person says “bye” and you say “bye” and leave.

1

u/Fruitboots Dec 06 '21

"ACK!" indeed

1

u/AzureArmageddon Dec 06 '21

I hate that this makes sense

1

u/MacPoggers Dec 06 '21

This is true.

1

u/Never-asked-for-this Dec 06 '21

I hate how this makes it easier...

1

u/Gabrill Dec 06 '21

This taught me better than my computer networks professor

1

u/MaximusConfusius Dec 06 '21

Didn't see that coming

1

u/RoscoMan1 Dec 06 '21

Vs dumbest player in the world we want.

1

u/squishles Dec 06 '21

You will find my dick in the invalid request logs for your rest api.

You cannot hide from it.

1

u/AudioManiac Dec 06 '21

I thought I understood TCP, but why does it seem like you send an "ACK" then a message? For example, A asks a question and B responds - why does A then send an "ACK" before sending the actual message? And likewise why does B send an "ACK" back before sending a response. What is the point of the ACK?

Also why does one of the ACKs contain a message? I'm more confused than ever lol

1

u/ThreePinkApples Dec 06 '21

ACK is confirmation of packet received. If an ACK is not sent (or rather, not received by the packet sender), the packet sender will retransmit the packet after a set period of time. If the packet is re-sent repeatedly without an ACK the connection is aborted. Every packet has a sequence number so the sender knows which packet to retransmitt, and the receiver also know if they received a duplicate packet (but the must still ACK the duplicate)

1

u/[deleted] Dec 06 '21

Lovely

1

u/[deleted] Dec 06 '21

Ack Ack Ack Ack, we come in peace

1

u/heartsongaming Dec 06 '21

I'd like a triple handshake as well!

1

u/TheMageOfAsgard Dec 06 '21

I feel like ACK should be "read✅" in this example.

1

u/acurlyninja Dec 06 '21

Mars attacks?

1

u/RepostSleuthBot Dec 06 '21

Looks like a repost. I've seen this image 2 times.

First Seen Here on 2021-12-06 100.0% match. Last Seen Here on 2021-12-06 100.0% match

Feedback? Hate? Visit r/repostsleuthbot - I'm not perfect, but you can help. Report [ False Positive ]

View Search On repostsleuth.com


Scope: Reddit | Meme Filter: True | Target: 96% | Check Title: False | Max Age: Unlimited | Searched Images: 271,790,755 | Search Time: 2.42931s

1

u/Fury9999 Dec 06 '21

Surprisingly accurate

1

u/[deleted] Dec 06 '21

What does ACK stand for

1

u/ancientweasel Dec 06 '21

I can't find "8===D" in the spec anywhere!

1

u/-Listening Dec 06 '21

Red Vs. Blue Flipflop Wars Blyat Edition.

1

u/MyersVandalay Dec 06 '21

Do you want to hear a tcp joke?

1

u/-Listening Dec 06 '21

Gogeta ssj4 Vs my dad

1

u/AC2302 Dec 06 '21

Nsfw Alice and Bob

1

u/Adequately_Insane Dec 06 '21

You forgot UDP sends dick pics to anyone who is listening to the channel and is willing to recieve, TCP to only the targeted node

2

u/[deleted] Dec 06 '21

[removed] — view removed comment

1

u/_E8_ Dec 06 '21

We have invented the technology that enables a single SUD (Spurious Unsolicited Dick-pix) to be simultaneously delivered to everyone on the Internet. We call it the Mbone.
This is a glorious day for sexual harassment. No woman nor straight man will be safe.

1

u/greenjm7 Dec 06 '21

who is receiving UDP is definitely more dependent on the sender than the listener.

UDP broadcast - remote endpoint (IP: 123.456.789.255, port: 1234)
-- every IP on the other end that has port 1234 open on that subnet will receive it.

UDP direct send - remote endpoint(IP: 123.456.789.012, port: 1234)
-- only 123.456.789.012 will receive assuming that port 1234 is open

Multicast: Both sender and receiver rely on a middleman (multicast group) to register / send / receive data. Only those registered to the multicast group will receive data.

1

u/kevinds Dec 10 '21

Until you move to IPv6 and there are no more broadcasts..

1

u/_E8_ Dec 06 '21

That ack after the fin is the best part.

1

u/rockem-sockem-rocket Dec 06 '21

That’s the problem with sending unsolicited dick pics - you never know if the recipient got them!

1

u/redcarrot89 Dec 06 '21

Do you want to see my 8==D

1

u/[deleted] Dec 06 '21

I’m studying for A+ and learning about these two. It is hard to remember the difference this helps lol.

1

u/vilidj_idjit Dec 06 '21

pfffffffffff

1

u/-Listening Dec 06 '21

Vs Philly Friday February 25th

1

u/KickBassColonyDrop Dec 06 '21

Actually, OP. Since we're being not safe for work here. Cumming inside is UDP, and getting a girl pregnant is TCP.

1

u/RandomRedux44637392 Dec 06 '21

"Why do some DNS queries not resolve on our network?"

Guys, open your damn firewalls' port 53 for TCP and leave me alone with this shit. Good day!!

1

u/anon517 Dec 06 '21

It's no wonder why gamers with low ping prefer UDP

1

u/zwober Dec 06 '21

Im now seeing iptv as just a bunch of unsolicited dick picks and im quite happy with the idea.

1

u/comfort_bot_1962 Dec 06 '21

You're Awesome!

1

u/J_Charles_L Dec 06 '21

I LOVE this!

1

u/SleepDeprivedUserUK Dec 06 '21

Wonder what a "magic packet" would be.

1

u/mothzilla Dec 06 '21

ACK ACK ACK!

1

u/[deleted] Dec 06 '21

Please all of you connect to my inbox through UDP only, thank you.

1

u/Bonerkiin Dec 06 '21

Fuck, this good.

1

u/[deleted] Dec 06 '21

This has no business being such a good educational tool.

1

u/GoogieK Dec 06 '21

What about BitteTorrent?

1

u/Gupperz Dec 07 '21

Did you send this to Cathy?

1

u/plorqk Dec 07 '21

I use ACK in everyday conversation

1

u/[deleted] Dec 07 '21

As a person who just took a google certification class...niceeeee.

1

u/ChrispyByDefault Dec 07 '21

Best explanation I’ve ever seen.

1

u/GamingTheSystem-01 Dec 07 '21

Reads like a "Cathy" ERP.

1

u/somethingcliched Dec 07 '21

Uncontrolled Data Propagation vs Totally Controlled Propagation

-1

u/GG_Bloodstalk Dec 06 '21

i see your man of culture

1

u/PaurAmma Dec 06 '21

I see him too.

0

u/jc4200 Dec 06 '21

Except everyone else also receives the unsecured dick pic on UDP lol.

6

u/RXrenesis8 Dec 06 '21

You confusing UDP with Broadcast?