DEV Community

Discussion on: Explain TCP like I'm five

Collapse
 
georgeoffley profile image
George Offley

You and a friend need to share a toy:

  1. You ask a friend if he can play with the toy.

  2. Your friend asks you if you actually asked him for the toy.

  3. You tell your friend that you asked for that toy.

  4. He gives you the toy.

UDP:

  1. Your friend throws a toy at you and walks away.
Collapse
 
hawarioware profile image
Wajdi Al-Hawari • Edited

I have a five year old. There is nothing beyond this that should be added. You're fantastic. Do you have a five year old? Because this is spot on.

Collapse
 
georgeoffley profile image
George Offley

I don't, mostly for the reason above. :)

Thread Thread
 
hawarioware profile image
Wajdi Al-Hawari

lol. Fair. :)

Collapse
 
kelfink profile image
Kevin Fries

Well, maybe it's your friend. And it's probably s ball.

Collapse
 
brovic profile image
Victor Ordu

ROTFL!!!

Collapse
 
theodesp profile image
Theofanis Despoudis

Maybe a more accurate description will be:
Your friend throws a toy at your direction thinking that it will hit you eventually and walks away.

Collapse
 
georgeoffley profile image
George Offley

You're explaining it to a five year old. The less nuance the better.

Collapse
 
ino76 profile image
JsonKody • Edited

it's exactly the same information but with more words ;)
(adding info about what he is thinking which is not inherently important)

Collapse
 
antoinette0x53 profile image
Antoinette Maria

The UDP example has me DYING. That's hilarious

Collapse
 
georgeoffley profile image
George Offley

UDP is inherently funny.