TCP vs UDP Comparison

Published 2016-11-15
This is an animated video explaining the difference between TCP and UDP protocols. What is TCP? What is UDP? Transmission control protocol vs user datagram protocol. This video will explain them.

All Comments (21)
  • So, UDP is basically the protocol that my school teachers use to teach me. Got it!!
  • Bro. you uploaded this video 7 years ago and yet there in no one better than you in explaining this lesson with this beautiful graphic. thanks
  • @hylogibbon
    TCP is best for downloading files, viewing webpages that have very specific html/javascript code, and a single missing character could break the content. UDP is good for streaming video/audio, because if it misses something, it doesn't really matter, you might get a few wrong pixels in one frame of your video or something you probably won't even notice. And you want a faster connection for streaming, because you want it to uninterrupted more than you need it to be perfect.
  • @vaxchen2054
    -hey, do you wanna hear a TCP joke
    -yes, I wanna hear a TCP joke
    -let me tell you a TCP joke
    -ok, I will hear your TCP joke
    -are you to hear a TCP joke
    -yes, I’m ready to hear a TCP joke
    -ok, I’m gonna send you a TCP joke, which is about 10 seconds long and containing 20 words
    -alright, I’m ready to receive the 10 seconds long 20 words joke
    -sorry, your TCP connection is time out.......hey, do you wanna hear a TCP joke
  • @_jayjay
    wow this explained it a lot better than a 1 hour 30 minute lecture at my university
  • @ericlembeck9686
    TCP is like "hey baby, lets get to know eachother before I give you my input ;)". While UDP is "Take my input and like it!"
  • @alexgiorev7252
    A couple of flaws and possible misunderstandings in this video:


    0:50 - TCP doesn't guarantee that data arrives at the receiver. All it does is detect when a segment hasn't arrived and resends it. The resent data may also be lost. After a certain number of failed retransmissions of a segment, TCP will give up and abort the connection (so in the end, the segment wasn't transmitted successfully).

    2:00 - The SYN ACK message's purpose is not only to acknowledge the client's SYN. This is only the ACK part. The SYN part is the server's own SYN, which is actually what the client ACKnowledges via the final ACK.

    2:27: The receiver doesn't let the sender know when a message isn't received. The sender "guesses" that a segment wasn't received because the segment's timer ended. For each segment that is in transit, the sender keeps a timer. If the timer ends before an ACK for the segment is received, the message is resent.
  • @sidhuzharry
    let me tell you a UDP joke , but i am afraid you won't get it :(
  • Awsome video. I love the small talk and the end part. Made me laugh.
  • @VickieEB
    LMAO!!!
    I have a short time to understand a lot of networking concepts to pass an exam and I was lucky enough to stumble upon your videos.
    I have gotten clarity on a lot of concepts in just a few hours.
    I suddenly feel, networking is fun, and I will always watch your videos exam or not.
    Your videos made it so.
    Thanks.
    Please keep them coming.
  • @Cheetah223
    Thanks for the videos. I'm not a particularly computer savvy guy, and have little to no networking knowledge beyond cobbling together the home "network" (a very rough term for getting a few computers on the internet). Your explanations are simple enough to actually help me understand what all the random fields actually mean.
  • Very well done, I appreciate the explanation, and the humor, that was hilarious!

    TCP: Handshake, share info.
    UPD: Handshake, share info faster, punch 'em in the face because, who cares?
  • @dank4263
    i normally tend to sleep watching videos but your videos are different, it keeps me interested to learn the material and i don't fall asleep. Thank you, great content!
  • @glmchn
    "NO, but this is fun. Please send more."
    sending packets intensifies
    I'm crying x'D
  • @skyranger696
    You did the example with the website at TCP.
    You should also make an example for UDP. UDP is mostly used to transmit multimedia streams, if a pixel is missing it doesn't really matter, since the video codec already has error correction in it.
    Or e.g. in games, UDP packets are sent from the server, since fast response times are often important.
  • @jordansison7970
    I read already my book many times but i dont understand the idea of tcp and udp until i watched this video and now it is easy for me to understand the book i read. I hope the admin will upload more video about data network communication and internet protocols.. Thanks
  • @satishm9534
    Hello PowerCert, the way you explain or the way you showcase each video is so much understandable where anyone can understand each one so easily. thank you so much for your videos! Pls keep posted as much as you can and I will try to share these to as many as I can... with a sincere thanks again! 😊👍
  • @user-xu9iw3tq6f
    I'm an audience from China.I think this video is very easy-understanding and simple,now I understand the main difference between TCP & UDP,thanks!