UDP and TCP: Comparison of Transport Protocols

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ธ.ค. 2024

ความคิดเห็น •

  • @thegreatkris24
    @thegreatkris24 2 ปีที่แล้ว +41

    go ahead and adjust playback speed to 1.5...you're welcome

    • @PieterExplainsTech
      @PieterExplainsTech  2 ปีที่แล้ว +27

      iii haave noo ideea whaat you are taaalking about

    • @thegreatkris24
      @thegreatkris24 2 ปีที่แล้ว +2

      @@PieterExplainsTech 😂

    • @komalchakradhar9272
      @komalchakradhar9272 ปีที่แล้ว

      @@PieterExplainsTech thats what heros do

    • @m.s.f7103
      @m.s.f7103 ปีที่แล้ว +1

      @@PieterExplainsTechhahaha love the self awareness

    • @xXAkitokunXx
      @xXAkitokunXx 3 หลายเดือนก่อน +1

      nah 1.25 is better

  • @eahere
    @eahere 10 ปีที่แล้ว +1577

    I'd tell you a UDP joke but I'm affraid you won't get it.

    • @PieterExplainsTech
      @PieterExplainsTech  10 ปีที่แล้ว +108

      That joke is great and don't let anyone tell you otherwise!

    • @booproo7022
      @booproo7022 9 ปีที่แล้ว +16

      ywecur_ oh!!! packet dropd :P
      better use tcp next time

    • @Hwyadylaw
      @Hwyadylaw 9 ปีที่แล้ว +136

      ywecur_
      I'd tell you a TCP joke but I'm afraid you won't get it in time.

    • @ShivamSharma1
      @ShivamSharma1 9 ปีที่แล้ว +7

      ywecur_ **may or may not get it **

    • @scottwolfe34
      @scottwolfe34 9 ปีที่แล้ว +16

      +ywecur_ I'd tell you an IP joke but I'm afraid you won't understand

  • @AndyBlair
    @AndyBlair 10 ปีที่แล้ว +27

    Thanks so much, this was like 2 weeks worth of lectures in 11 mins! Well done!

    • @ruialves92
      @ruialves92 9 ปีที่แล้ว +1

      lucky you
      I found this after my computer network grades
      This would make it much easier

  • @LosEagle
    @LosEagle 9 ปีที่แล้ว +30

    More videos man! You are one of the few networking tutors I can actually understand lol.

  • @nick56538
    @nick56538 9 ปีที่แล้ว

    Thank you! My lecturer was trying to explain this and had the entire room up in arms, decided to listen to this instead!

  • @sparksterTV
    @sparksterTV 10 ปีที่แล้ว +737

    Great video but I suggest watching it at 1.5 speed.

    • @3ds12Game
      @3ds12Game 10 ปีที่แล้ว +8

      Hahaha! genious!

    • @superbikeengineer
      @superbikeengineer 10 ปีที่แล้ว +4

      ***** Can you please provide some good resource links to back what you have mentioned?

    • @VFXCommander
      @VFXCommander 9 ปีที่แล้ว +7

      ***** Try 0.5 Oh my stomach XD

    • @Mukeshsharma-pl5wg
      @Mukeshsharma-pl5wg 9 ปีที่แล้ว +1

      ***** Bro in my book Computer Network by Andrew S. Tanenbaum UDP have 8 bytes header and TCP have 20 bytes header which is correct as we are comparing both the protocols.
      yeah IP header is 20 bytes for both because It has to be same you are comparing the message that have been delivered and he is talking about the packet header of these two protocols only without including IP header so he is also right. correct me I am wrong. :)

    • @LosEagle
      @LosEagle 9 ปีที่แล้ว +9

      I think its great how he takes it slow. Guess it depends on preference.

  • @kennethhowell5291
    @kennethhowell5291 10 ปีที่แล้ว +1

    Thank you! People like you, can actually explain what they are talking about, because they know what they are talking about.

  • @RedLoopster
    @RedLoopster 9 ปีที่แล้ว

    As everyone's saying, great video! Have an exam tomorrow, saved a lot of time by watching this, couldn't really understand it from only texts. So THANKS! :)

  • @amx2311
    @amx2311 9 ปีที่แล้ว

    Watching this at work with sound down. I don't know how you sound, but subtitles pick up what you say very well, so thanks for speaking so clearly.

  • @scottalexanderwong
    @scottalexanderwong 9 ปีที่แล้ว +2

    Thank you so much for making these videos. Incredibly helpful. I bet there is a sizable boost in general productivity from exceedingly informitive videos like this

  • @safweneful
    @safweneful 10 ปีที่แล้ว

    before you, it was so complicated.
    you made it very simple , that shows how well you understand this stuff.

  • @matondocska
    @matondocska 11 ปีที่แล้ว

    Great work! Thank you very much. I was told about this topic for hours and hours at school, did not get it. Here you come and in 11 minutes I DO understand. Hats off, and keep the vids coming :)

  • @coolstorybro6154
    @coolstorybro6154 9 ปีที่แล้ว +1

    Very clear and precise. Good repetition of concepts when needed. Also a great line out of examples. Good job

  • @PieterExplainsTech
    @PieterExplainsTech  11 ปีที่แล้ว +2

    Great question. Originally BitTorrent only ran over TCP. In 2008, the µTorrent team developed µTP, a UDP-based protocol for BitTorrent. Since UDP doesn't offer in-order delivery (among other things), µTP implements this functionality in its application layer. If you want to read more about how and why BitTorrent runs over UDP, you can find some relevant links in the video description.

  • @rayselM
    @rayselM 9 ปีที่แล้ว +1

    This is an amazing video. Very easy for a super novice like me to understand. I like the slow pace. It allows me to fully absorb the content.

  • @rinaldogarcia5223
    @rinaldogarcia5223 10 ปีที่แล้ว

    Dear Pieter, I did a test to work in the public sector and one of the questions was to describe how TCP / IP works, and certainly this video help me a lot with this question. Thank U.

  • @bibhakarsaha
    @bibhakarsaha 11 ปีที่แล้ว

    Almost all the comments here tell the same thing, Its an amazing video. I do want to point out the example that you mentioned for TCP and UDP, it just cleared the concept for me. Thanks.

  • @PieterExplainsTech
    @PieterExplainsTech  11 ปีที่แล้ว +12

    Thank you! Some services like DNS can run over UDP as well as TCP, but I can't come up with an example of one transport protocol being wrapped in the other. What do you think the benefits would be of wrapping TCP traffic in UDP packets or vice versa? I can't think of any right now. I only see more communication overhead.

  • @UltimateBass2
    @UltimateBass2 8 ปีที่แล้ว +6

    thank you for explaining it so clearly! my lecturers could never get this through to me!

  • @Oxserz
    @Oxserz 8 ปีที่แล้ว

    Thank you very much for the video man! I realize the audio was slow but it gave me time to process and understand the details!
    You do a great job at explanations with audio and the video components! Its amazin eh!
    Cheers!
    Love from Canada!

  • @MicheleTurchiarelli
    @MicheleTurchiarelli 9 ปีที่แล้ว +5

    Best guide about protocols i've ever seen!

  • @Xennon1117
    @Xennon1117 5 ปีที่แล้ว

    I like your brief and precise explanation. You made it clear and easy to understand.

  • @NetworkAdvisor
    @NetworkAdvisor 8 ปีที่แล้ว

    Excellent refresher. Thanks for taking the time to make such quality, simple presentations..

  • @0anant0
    @0anant0 2 ปีที่แล้ว

    Excellent video and explanation! @ 9:27 It's amusing how UDP still managed to send all the characters of each word in their correct order :-)

  • @joshinda1
    @joshinda1 10 ปีที่แล้ว

    Fantastic video Pieter...much clearer than my lecturers! Keep up the great work

  • @DanielHawkKennedy
    @DanielHawkKennedy 10 ปีที่แล้ว

    Very good video, formal, animated, good sound, high quality, finally a respectable video, thank you so much, this is a good start to further investigation about, for example what contain the headers of segments, how TCP corrects the lost of packages...etc. It could be nice to see this explanation in this kind of videos.

  • @garyknowles5705
    @garyknowles5705 10 ปีที่แล้ว

    You make great videos sir. Simple, clear, direct, focussed - good job. Thanks for posting.

  • @hmxmghl
    @hmxmghl 8 ปีที่แล้ว

    One of the best tutorial channel. Hope to see more from you. Thank you.

  • @OroianRares
    @OroianRares 8 ปีที่แล้ว

    Congratulations! Excellent way of explaining things! It flows so naturally.

  • @anandvats9508
    @anandvats9508 9 ปีที่แล้ว

    Very good one Pieter. Very helpful for people who are just stepping into networking.

  • @BramVanbilsen
    @BramVanbilsen 8 ปีที่แล้ว

    30 mins before my test and I finally get it now, thanks!

  • @sampathkangankar
    @sampathkangankar 11 ปีที่แล้ว

    Wow, very crystal clear, we need some videos like this more..

  • @ryanlovewow
    @ryanlovewow 8 ปีที่แล้ว +3

    Your videos are great! And incredibly informative! I appreciate the effort put into making the videos. You are VERY easy to understand too! Good job, hope to see more videos soon :)

  • @PieterExplainsTech
    @PieterExplainsTech  11 ปีที่แล้ว +5

    UDP and IP have different tasks and are often used together. IP helps deliver packets to the right computer. Transport protocols like UDP help deliver packets to the right application on that computer. If we didn't have transport protocols, you wouldn't be able to use Chrome and Dropbox at the same time.

  • @carljohnson7342
    @carljohnson7342 6 ปีที่แล้ว

    Thanks for the video, you explain the best on entire TH-cam

  • @tgardner5968
    @tgardner5968 9 ปีที่แล้ว

    You are really great at simplifying topics that others seem to bog down with to much tech language! Thanks so much

  • @loopuleasa
    @loopuleasa 11 ปีที่แล้ว

    Top class explanation and presentation. Video editing and minimal layout was a cake.
    Thank you!

  • @WolkieNL
    @WolkieNL 9 ปีที่แล้ว +44

    On the slide at 8:31 you say that TCP is streaming orientated and as an example you give phone conversations. Wasn't UDP better for that? You want it real time and you don't want, if second 2 of the phone call get lost, it being mushed in between second 7 and 8.

    • @terran008
      @terran008 9 ปีที่แล้ว +5

      +WolkieNL I noticed the same thing, maybe he switched the definitions by mistake?

    • @PieterExplainsTech
      @PieterExplainsTech  9 ปีที่แล้ว +23

      +WolkieNL +Seb M After reading your comments, I see that the examples on the slide are a little confusing. I didn't mean to imply that e-mail protocols use UDP - this is not the case. I'm talking purely on a conceptual level: e-mails are separate chunks of communication (message-oriented) while a phone call is a continuous flow of communication (stream-oriented). I think it's best to put it another way: message-oriented is discrete, stream-oriented is continuous.
      Hopefully that makes more sense. Thanks for pointing this out!

    • @terran008
      @terran008 9 ปีที่แล้ว +3

      PieterExplainsTech thanks the video was really helpful and you explained pretty well either way

    • @inspiration7
      @inspiration7 6 ปีที่แล้ว +4

      WolkieNL he switched those parts by mistake. Because clearly, phone conversations is an example of UDP.

    • @ramanarao865
      @ramanarao865 6 ปีที่แล้ว +3

      But in the case of UDP in phone conversations, it doesn't check the data and resend it if it is wrongly spelt.

  • @poojajaldu2929
    @poojajaldu2929 5 ปีที่แล้ว

    Quickly understandable,very good explanation,keep it up sir we really want this kind

  • @ErKenneth
    @ErKenneth 7 ปีที่แล้ว

    Great explanation. Very concise and simplistic for consumption.

  • @chrissylarson6232
    @chrissylarson6232 10 ปีที่แล้ว

    I wasn't able to find a video on BGP, this is something I would love to get a clear explaination of!

  • @losrobbosful
    @losrobbosful 4 ปีที่แล้ว

    I am one of the "mentally handicapped" that actually find the speed of the video optimal for me :) Please keep it up, most people on TH-cam talk way too fast

  • @cajogos
    @cajogos 11 ปีที่แล้ว +1

    Really loved this video, was really insightful :) Your way of explaining things is also pretty solid!

  • @rajeshojha-v7h
    @rajeshojha-v7h 11 หลายเดือนก่อน

    Very lucid explanation of the concepts. Thank you.

  • @wposanda
    @wposanda 10 ปีที่แล้ว

    Really nice :) Keep posting videos. Very interactive and easy to understand :)

  • @blindlygoing
    @blindlygoing 8 ปีที่แล้ว

    Love your videos. Some of the most useful content I've found on TH-cam. Thanks

  • @methandtopology
    @methandtopology 9 ปีที่แล้ว +81

    Thanks for the video! But the voice sounded a little creepy at the start until I got used to it XD

    • @thepsi43
      @thepsi43 8 ปีที่แล้ว

      +黒い星 It sounds like a British person trying to fake an American accent, to me.

    • @PieterExplainsTech
      @PieterExplainsTech  8 ปีที่แล้ว +38

      +Oliver Reipschläger I'm actually a Belgian man pretending to be a British person trying to fake an American accent. And you totally fell for it... MUAHAHA!

    • @MrQwerty2524
      @MrQwerty2524 8 ปีที่แล้ว +1

      +PieterExplainsTech I had no idea you were from Belgium. I speak dutch as well, and my english accent is horrible so, good job on both your English and the Tutorial :D

    • @TenLetters123
      @TenLetters123 8 ปีที่แล้ว

      +PieterExplainsTech I could hear a bit of the accent coming out, but that is the best American I have heard so far coming from a non-English speaking person.

    • @whatisdisshit
      @whatisdisshit 8 ปีที่แล้ว +3

      he sounds like a babysitter talking to a toddler... which i dont have a problem with, as i am a total moron when it comes to this stuff xD

  • @dipankanbandopadhyay169
    @dipankanbandopadhyay169 4 ปีที่แล้ว

    Top tip: Watch on 1.25x. Great content Pieter, keep making more!

  • @RicoStanfield
    @RicoStanfield 10 ปีที่แล้ว

    Your videos are great. Please make more. Animations and explanations are perfect

  • @iqraali2068
    @iqraali2068 7 ปีที่แล้ว

    It's just an awesome description you've given, keep going with good in-depth content.
    cheers!

  • @CruelCDO
    @CruelCDO 10 ปีที่แล้ว +1

    Hi from Brasil!!! Really good video, congrats man!

  • @eduardoroseo1626
    @eduardoroseo1626 9 ปีที่แล้ว

    Thanks bro, I'm brazilian and I need learn this informations, I don't understand English very well, but, thank you I'm learning more that my brazilian teacher and look he speak in Portuguese, so thanks man!!! You're awesome.

  • @soulj7sli7
    @soulj7sli7 11 ปีที่แล้ว

    This was a very buttery explanation , thank you so much and keep up the good work ..

  • @rishabh8808
    @rishabh8808 7 ปีที่แล้ว

    Great explanation, keep going and posting videos on the greatly needed tech. stuff.

  • @namle-br8ju
    @namle-br8ju 8 ปีที่แล้ว +1

    It very comprehensive and well explain the difference. Thank you for sharing

  • @connormcdonald8557
    @connormcdonald8557 8 ปีที่แล้ว +178

    Speeding this video up by 1.25 makes your voice sound normal.

    • @Ann_dmnhvd
      @Ann_dmnhvd 8 ปีที่แล้ว +4

      I just tried it

    • @hectorlquinonesrodriguez1296
      @hectorlquinonesrodriguez1296 8 ปีที่แล้ว +2

      True! I should have done that before watching the whole video.

    • @RianWardana
      @RianWardana 8 ปีที่แล้ว +1

      Nice trick!

    • @Accuracy158
      @Accuracy158 8 ปีที่แล้ว +3

      Haha this was the first thing I thought when I clicked on the video... I had set it to 1.5.

    • @AkshanshShrivastava
      @AkshanshShrivastava 7 ปีที่แล้ว

      thanks

  • @RexGalilae
    @RexGalilae 8 ปีที่แล้ว +6

    5:40
    Does it mean that UDP follows a packet switching and TCP a circuit switching style?

    • @aviralgupta4150
      @aviralgupta4150 8 ปีที่แล้ว +2

      yes we can say that

    • @universenerdd
      @universenerdd 4 ปีที่แล้ว

      no, it follows packet switching, it just contains metadata on how to arrange packets

  • @xingjianwang1894
    @xingjianwang1894 5 ปีที่แล้ว

    This is crystal clear explanation for rookies. thanks.

  • @jkjqu6805
    @jkjqu6805 7 ปีที่แล้ว

    Great job, great video. I watched it at 1.5 Speed, and it was PERFECT. Thank you!

  • @vincentpatrick5780
    @vincentpatrick5780 7 ปีที่แล้ว

    fantastic video man! thanks for the thorough examples and well-presented info!

  • @johnconnor9787
    @johnconnor9787 6 ปีที่แล้ว

    Amazing!
    That is just amazing. Please continue making these videos

  • @tayanelesty2158
    @tayanelesty2158 8 ปีที่แล้ว

    +PieterExplainsTech
    For what kind of security reasons would some firefalls stop udp ? at 10:56

  • @JoshsYTube
    @JoshsYTube 10 ปีที่แล้ว

    Thanks! Great explanation along with helpful visualisation through animated slides.

  • @djsmooth2007
    @djsmooth2007 9 ปีที่แล้ว +2

    Just wanted to say thank you, I've been in IT for 25 years, I was learning about PCoIP and couldn't understand why they use UDP

  • @MrSid20000
    @MrSid20000 6 ปีที่แล้ว

    Thanks for your illustrative instruction to TCP/IP.

  • @karleisheim8043
    @karleisheim8043 10 ปีที่แล้ว +3

    This and your other videos are gorgeous! Can you pls make others where you explain the complete 5 layers of the "internet connection"? It would be really nice because when I look in the internet, everybody explains it different that it's really hard to understand :/

  • @holobolo1661
    @holobolo1661 2 หลายเดือนก่อน +1

    8:25 isnt that backwards?

  • @hyylo
    @hyylo 10 ปีที่แล้ว +5

    thank you for this video. you are better then my teacher.

  • @eMebyMonicaMateu
    @eMebyMonicaMateu 5 ปีที่แล้ว

    I was searching for this info; you did a great and clear explanation^^ Thanks!

  • @satyamurthygunturu403
    @satyamurthygunturu403 7 ปีที่แล้ว

    your videos crystal clear. please make a complete playlist for networking.

  • @小林勇次郎-r8t
    @小林勇次郎-r8t 3 ปีที่แล้ว

    Good video, but I got confused at the start from 0:40 when you mentioned "....wondered why it's possible that two applications can use the same internet connection at the same time..." does the two applications refer to as TCP and UDP?

  • @zyehia
    @zyehia 8 ปีที่แล้ว

    A wonderful Explanation, thank you so much Pieter.

  • @unique1o1-g5h
    @unique1o1-g5h 7 ปีที่แล้ว

    u explained it much better than others

  • @ememwilliams5930
    @ememwilliams5930 4 ปีที่แล้ว +1

    Sir, this video was extremely helpful! Thank you!

  • @ankitprajapati3768
    @ankitprajapati3768 8 ปีที่แล้ว

    Cooooooool. Explained calmly. I like it.

  • @Scotty2H
    @Scotty2H 10 ปีที่แล้ว +2

    Your videos are so helpful. Thanks so much.

  • @derejekebrit4626
    @derejekebrit4626 5 ปีที่แล้ว

    Quickly understandable,very good explanation,keep it up sir we really want this kind
    Great video but I suggest watching it at 1.5 speed.

  • @sunil_varma9
    @sunil_varma9 5 ปีที่แล้ว

    I think u have interchanged the examples of tcp and udp ..And the rest of the video was really awesome

  • @ibknl1986
    @ibknl1986 11 ปีที่แล้ว +1

    very nice vedio.i was preparing for TCP and found your video very helpful.keep the good work going.its really helping others.

  • @AhamedIshak
    @AhamedIshak 11 ปีที่แล้ว +2

    Hey I need to study about the algorithms used in TCP and UDP. Do you know a place where can I get those.

  • @66saly
    @66saly 7 ปีที่แล้ว

    The best comparison video, Thanks a lot

  • @theworldisyours2241
    @theworldisyours2241 3 ปีที่แล้ว

    Thanks for the video, great explanation.. please keep them coming

  • @EverythingRoy
    @EverythingRoy 7 ปีที่แล้ว

    Thank you, I've got a test and this was a perfect refresher. subbed for more!

  • @riankrishandi
    @riankrishandi 3 ปีที่แล้ว

    Crystal clear. Thank you for sharing!

  • @dr.michaelbrand7638
    @dr.michaelbrand7638 2 ปีที่แล้ว

    BEST VIDEO ON TCP/UDP

  • @elegantuser1090
    @elegantuser1090 7 ปีที่แล้ว

    Nice presentation and informative every single word. Thank you

  • @pramodkadam22
    @pramodkadam22 6 ปีที่แล้ว

    Hi pieter..........nice video , well explained in a simplified manner

  • @itpugil
    @itpugil 11 ปีที่แล้ว

    best explanation of TCP vs UDP, thank you man!i needed this!

  • @jleslie1337
    @jleslie1337 5 ปีที่แล้ว

    Thaannnkkkk youuu fooorrr theee videeoooo

  • @zshn25
    @zshn25 10 ปีที่แล้ว +3

    Make more of these stuff!! U're awesome

  • @chrisvsworld
    @chrisvsworld 9 ปีที่แล้ว

    These videos are great! Please make more. THE OSI model would be great!

  • @fcoker73
    @fcoker73 10 ปีที่แล้ว

    You kept it very simple which I could understand. Thank you!!!

  • @PieterExplainsTech
    @PieterExplainsTech  11 ปีที่แล้ว

    I'd say that they do a similar job, but on different levels. There are, however, some subtleties that you shouldn't overlook. For example, the IP protocol doesn't provide any of the services that TCP provides to make transmissions more reliable, like acknowledgments or retransmissions. Then again, using TCP with a version of IP that also provides things like acknowledgments would duplicate functionality.

  • @stellaraja02
    @stellaraja02 4 ปีที่แล้ว

    wow, your teaching was really interesting and i loved the explanation. Thankyou so much!

  • @satishkumar-cj5jq
    @satishkumar-cj5jq 10 ปีที่แล้ว +2

    you have clear every thing so nicelly...thanks very much..

  • @alaaashraf8472
    @alaaashraf8472 8 ปีที่แล้ว

    could you make videos explaining the layers of the network ?

  • @teoscott1
    @teoscott1 8 ปีที่แล้ว

    It was very helpful and explanatory. Thanks a lot.

  • @vijaybathula592
    @vijaybathula592 6 ปีที่แล้ว

    Great video. Can you do one video on what ICMP and how it is used? Thank you.

  • @raviraushankumar5536
    @raviraushankumar5536 8 ปีที่แล้ว +5

    very nice video.
    i have a doubt:
    On whom it depends that which protocol will be used?
    i.e. if I want to stream a video from ESPN sports website or TH-cam, the video will be received by TCP/UDP will depend on ______?
    a. how video provider had programmed it
    b. how my application (chrome, internet explorer etc.) wants.
    c. dynamic, dependent on internet speed
    which option would be correct?

    • @xdavebmx
      @xdavebmx 8 ปีที่แล้ว +3

      i'm not 100% sure about this, but I think an average video on youtube or ESPN will be transmitted via TCP, while a live streamed video will be streamed via UDP ( doesn't matter if a few frames get dropped ETC).

  • @CrystalNNeupane
    @CrystalNNeupane 11 ปีที่แล้ว

    nicely presented and explained.
    looked up for my exam preparation and i'm happy.
    Thanks