How TCP and UDP Work | Network Fundamentals Part 7

Поділитися
Вставка
  • Опубліковано 20 січ 2025

КОМЕНТАРІ • 106

  • @NetworkDirection
    @NetworkDirection  6 років тому +8

    Quiz page is here: networkdirection.net/labsandquizzes/quizzes/comparing-tcp-and-udp-quiz/
    CCENT book is here: click.linksynergy.com/link?id=RL4E*8CmbSY&offerid=145238.2445867&type=2&murl=http%3A%2F%2Fwww.ciscopress.com%2Ftitle%2F9781587205804

  • @GajendraKarle
    @GajendraKarle 4 роки тому +65

    Quiz # 1 Which Protocols use each of these headers? TCP & UDP
    Quiz # 2 What is a socket used for? The sockets are used to identify which application to the network data belongs to.
    Quiz # 3 What detail contained in the socket? 5 tuple; Local IP; Remote IP; Local Port #; Remote port #; Protocol (TCP/UDP)

  • @vtrandal
    @vtrandal 3 роки тому +5

    Regarding random source port numbers, you said "Ports are like addresses for applications." Nice! [Unique port number per process - Awesome.]

    • @zzzzzz1039
      @zzzzzz1039 2 роки тому

      Should be "Ports are like addresses for processes"

  • @HimanshuSharma1981
    @HimanshuSharma1981 4 роки тому +3

    One of the best lectures on networking, what a shame that so few people have watched them.

    • @NetworkDirection
      @NetworkDirection  4 роки тому +1

      I'm hoping more will find the channel over time

    • @HimanshuSharma1981
      @HimanshuSharma1981 4 роки тому +1

      @@NetworkDirection I watched your lectures on VxLan as we have implemented a part of it in our Org. When I asked my teammate to send me some resources on VxLan, he said that there is a good one which has trains in it. I knew it was yours. Then he forwarded the links to your videos. You guys are doing good work. Thanks !!

    • @NetworkDirection
      @NetworkDirection  4 роки тому +1

      @@HimanshuSharma1981 That's fantastic to hear! Thanks for letting me know

  • @cypherix93
    @cypherix93 4 роки тому +14

    Dude these videos are excellent! Way more interesting and informative than my CSE310 class 😂

  • @kralub
    @kralub 5 років тому +10

    you just got me a degree sir. this is such a valuable video

    • @NetworkDirection
      @NetworkDirection  5 років тому

      That's excellent news! What degree do you have?

    • @kralub
      @kralub 5 років тому

      @@NetworkDirection it will be in CS! do you have a major?

    • @NetworkDirection
      @NetworkDirection  5 років тому +3

      @@kralub MNet&SysAdmin (Networking and Systems Administration)

    • @kralub
      @kralub 5 років тому

      @@NetworkDirection Nice! I hope all is well for you in the bright future we both have!

  • @landro3552
    @landro3552 6 років тому +36

    Why so few views? Thanks for the knowledge bro keep up

    • @NetworkDirection
      @NetworkDirection  6 років тому +5

      Still only a small channel I guess. Hopefully the views will grow!

    • @leonardomorel9412
      @leonardomorel9412 3 роки тому +2

      For what I have seen, this is normal. Most series that explain a topic in depth usually get a lot of views in the first video and then drastically drops off from there. Just try looking at any discrete math, programming, security/encrypting, data structures & algorithims, etc. courses. People usually gets attracted to the tech industry when they see those huge salaries, but most aren't willing to sit down and do the hard work.

    • @KenSherman
      @KenSherman 3 роки тому

      The best short answer I can give imo is: we need more dedicated IT specialists/pros in The Industry and/or this may eventually be out of scope for many beginners or novices based off of their traditional academics. A number of them may be better of attempting IC3, ITF+ (Strata), or A+, etc. before venturing here.

  • @newhampshireknits
    @newhampshireknits 2 роки тому +2

    Ty these videos are so much more clear than my textbook!

  • @ryan-bo2xi
    @ryan-bo2xi 4 роки тому +2

    Thanks for the clear and lucid explanation. You deserve more likes

  • @paskahlisanjasprabowo2075
    @paskahlisanjasprabowo2075 5 років тому +1

    Really appreciate your work. It helps a lot to understand what seems complicated to me couple years ago when I was studying this from a text book. Keep it up! Everyone will love it.

  • @SaifUlIslam-di5xv
    @SaifUlIslam-di5xv 4 роки тому +1

    This is a brilliant series for people like me that like architectures, design, and a general high overview instead of caring about wires too much in the process.
    Thank you for your hard work!

  • @siddcfc
    @siddcfc 6 років тому +2

    Very well explained.. unique piece of content on internet. Many thanks !!!

    • @NetworkDirection
      @NetworkDirection  6 років тому +1

      It's good to be unique!

    • @siddcfc
      @siddcfc 6 років тому +1

      @@NetworkDirection yes always !!

  • @lauralawrence6000
    @lauralawrence6000 6 років тому +7

    Love your videos, very helpful!

  • @azizahnur9194
    @azizahnur9194 Рік тому

    Really appreciate your videos sir! Thanks alot.

  • @Manas-co8wl
    @Manas-co8wl 4 роки тому +2

    Lovely so far

  • @shrutikanikhar7987
    @shrutikanikhar7987 4 роки тому +3

    Your videos are amazing. Very helpful, thank you.

    • @NetworkDirection
      @NetworkDirection  4 роки тому

      You're very welcome! Thanks for watching @shrutika nikhar

  • @paulzedrickmadrona5605
    @paulzedrickmadrona5605 5 років тому +3

    Really good content. Please keep it up

  • @Lvnxrr
    @Lvnxrr Рік тому

    Thank you so much this is amazing so far

  • @rushichampaneri5150
    @rushichampaneri5150 5 років тому +2

    thank you for all these information and I love your videos

  • @sruthikab2240
    @sruthikab2240 4 роки тому +1

    Superb content... Perfectly delivered :)

  • @brianmisasa
    @brianmisasa 11 місяців тому

    Excellent video, would have loved if you touched on the Fragment offset more and the link between it and MSS and MTU and with a little bit of calculation

  • @markarca6360
    @markarca6360 5 років тому +5

    1:55 - Those ports are also called ephemeral ports.

  • @sarfarazalam6077
    @sarfarazalam6077 5 років тому +1

    Great video , learnt alot from your videos in last two days. Thank you :)

  • @solo-angel
    @solo-angel 4 роки тому

    Awesome video, great presentation, thank you!!!

  • @patrickmeneses205
    @patrickmeneses205 4 роки тому

    Thanks for the very informative videos!

  • @rafaelh.reynoso4594
    @rafaelh.reynoso4594 4 роки тому +1

    Thanks a lot sir
    This knowledge will be invaluable for my project ❤️

  • @Jesserc_
    @Jesserc_ 11 місяців тому

    Thanks

  • @snoo333
    @snoo333 3 роки тому

    mind blowing stuff.

  • @gansgross6464
    @gansgross6464 3 роки тому +1

    Thank you

  • @simpsonsampson7600
    @simpsonsampson7600 2 роки тому +1

    Great video my only complaint would be that you don’t go into much detail for the remote port number. Im assuming each process in the application, like a different tab in chrome, would have its own remote port number so you know which tab to send the information to. But what is remote IP? Local ip I’d assume would be your IP address buy would would each process need their own ip?

    • @NetworkDirection
      @NetworkDirection  2 роки тому +1

      Good point! From the client perspective, each tab would likely be to different IP addresses. So you can have the same port number (eg, 80 or 443 for web browsing), but different IPs.
      Each process does not need it's own IP. Each TCP or UDP process uses different port numbers that they 'listen' on. When sending, they will usually select a random port number, and then continue to listen on that number for a response

  • @aghniafaza9952
    @aghniafaza9952 3 роки тому

    Thank you so much you really help me

  • @idrisbabay383
    @idrisbabay383 3 роки тому

    A great video!

  • @KozyBearRadio
    @KozyBearRadio 3 роки тому +1

    But how does it examine the local IP & remote IP? Is the web server looking at this on the incoming traffic or on its outgoing traffic? I’m assuming on the incoming traffic? But if so what are you referring to the local IP as? The WAN Ip on the incoming traffic? Or the local IP of the web server..basically how would something sit out on the internet examine the local ip of incoming traffic?

    • @NetworkDirection
      @NetworkDirection  3 роки тому +1

      The term 'local IP' means the IP address of the device we're talking about. So, if we're talking about a web server, the 'local IP' is the IP of the web server.
      The 'remote IP' would be the IP address of another device. For example, a client making a connection to the web server.
      does that make sense, or have I misunderstood your question?

  • @prakashmc2842
    @prakashmc2842 4 роки тому

    Miga Arumai! Valthukkal!

  • @dianeconrardy829
    @dianeconrardy829 5 років тому

    Excellent video...thank you!

  • @kalramani
    @kalramani 4 роки тому

    Best one on TCP /UDP

  • @polinal4769
    @polinal4769 5 років тому

    Very helpful, thank you.

  • @robinmusic7532
    @robinmusic7532 5 років тому

    Great video, thanks for your help :)

  • @berkeyazc86
    @berkeyazc86 2 роки тому

    I did a little research for Quiz #4. I found, error detection is performed in Data Link Layer. I thought until now it is performed in Transport layer, in TCP. Is this true?

  • @schwaggg17
    @schwaggg17 6 років тому +3

    What are your plans for this network fundamentals course? What do you plan to cover? Where will you stop? Appreciate it!

    • @NetworkDirection
      @NetworkDirection  6 років тому +3

      Good question!
      I'm planning to make enough content to roughly cover CCENT. If that goes well, I could expand to CCNA level.
      Of course I have other videos I want to make aside from this series, so it's slow going.
      Why do you ask?

    • @karlfonseca4388
      @karlfonseca4388 6 років тому +1

      @@NetworkDirection I for one was thinking about subscribing to the patreon, although the video rate is pretty low... Are there any plans on going weekly or biweekly?

    • @NetworkDirection
      @NetworkDirection  6 років тому +5

      One every two weeks is all I can sustain right now (with this level of quality anyway), as I'm also working full time.

    • @NetworkDirection
      @NetworkDirection  6 років тому

      One every two weeks is all I can sustain right now (with this level of quality anyway), as I'm also working full time.

    • @NetworkDirection
      @NetworkDirection  6 років тому

      One every two weeks is all I can sustain right now (with this level of quality anyway), as I'm also working full time.

  • @uwelab6590
    @uwelab6590 4 роки тому

    It's used 4 real time applications like audio and video stream, where speed is much more important than reliability. The retransmission of voice e.g. would end up in a not understandable chaos, whereelse a lacking packet of UDP just causes a break of less than a second.

  • @fracked7077
    @fracked7077 6 років тому +2

    Great videos! Can you do one (or series) on OTV?

    • @NetworkDirection
      @NetworkDirection  6 років тому +1

      I'm thinking about OTV...
      I need to do a lot of research before then

  • @inaholmatihaashkaiidhiib.8634
    @inaholmatihaashkaiidhiib.8634 5 років тому

    Awesome.

  • @bennails3447
    @bennails3447 3 роки тому +1

    Man, you are great! Your videos are diamonds! But I didn't quite get the 5-tuple concept. If an application sends several requests to a remote server all of them have the same local IP, remote IP, local port, remote port, and protocol. If I am right :) How can we get which request is which then?

    • @NetworkDirection
      @NetworkDirection  3 роки тому +2

      Sometimes a different source port would be used for each connection, making the 5-tuple unique.
      Otherwise, this would need to be handled within the protocol. A protocol may have a single connection from a client to a server, but have multiple 'streams' of data within the connection. This is known as 'multiplexing'

    • @bennails3447
      @bennails3447 3 роки тому

      @@NetworkDirection Thank you!

  • @Juwez
    @Juwez 5 років тому

    is the 5 tuple still an example of a server socket ?

  • @ashpanriders8588
    @ashpanriders8588 4 роки тому

    #Quiz 1
    TCP and UDP protocols

  • @ashpanriders8588
    @ashpanriders8588 4 роки тому

    #Quiz 2
    A network socket is an internal endpoint for sending or receiving data within a node on a computer network.
    IP address and port number

  • @kirillkirooha3848
    @kirillkirooha3848 3 роки тому

    for every incoming connection web server will create new socket?

    • @NetworkDirection
      @NetworkDirection  3 роки тому +1

      For every new client connection yes.
      however, Web servers can be fancy and create multiple 'flows' within a connection to transfer items faster. Take a look at http 1.1 vs http 2 for an example of this

  • @paulaganbi
    @paulaganbi 4 роки тому

    Hi, i need clarification concerning this video. Does a client need to have a port 80?

    • @NetworkDirection
      @NetworkDirection  4 роки тому

      The client doesn't need to use port 80, although it can if it wants.
      If you're thinking about web traffic, then normally the server will 'listen' for requests on port 80, and the client will send requests on a random port number

  • @soakstudios50
    @soakstudios50 5 років тому

    but what exactly would be a remote ip?

  • @uwelab6590
    @uwelab6590 4 роки тому

    Quiz answer 2: The socket is a logical endpoint and identifies the application with local IP address, local port and protocol. Could somebody give me the answer, if this is right? Thanks in advance.

  • @uwelab6590
    @uwelab6590 4 роки тому +1

    Quiz 3: UDP = Unreliable, but faster than TCP. Used 4 streaming transmission over the net, where error recovery and retransmission would be counterproductive. TCP is used 4 datatransmissions that must be reliable.

  • @onions5113
    @onions5113 4 роки тому

    Finally i found this Video actually i found TCP and UDP video but its Indian accent

    • @theoriginaldreadpirateroberts
      @theoriginaldreadpirateroberts 4 роки тому

      That's not Indian lol. He's Australian. Easy to understand.

    • @onions5113
      @onions5113 4 роки тому +2

      @@theoriginaldreadpirateroberts im not talking to this videos, im talking other video i saw before but bad accent , they have the same videos but they have different accents that I've seen before

    • @onions5113
      @onions5113 4 роки тому

      @@theoriginaldreadpirateroberts so i found this guy his really cool

    • @mahdimix5468
      @mahdimix5468 3 роки тому

      @@onions5113 yeah I really hate videos with that Indian accent🙄

  • @eshaanbansal5305
    @eshaanbansal5305 3 роки тому

    Please tell the answer of quiz 4 - is it tcp?

    • @rickw1356
      @rickw1356 3 роки тому

      I think it is udp, udp uses checksum for error detection

    • @mohammedalhaddad3449
      @mohammedalhaddad3449 2 роки тому

      i believe TCP & UDP .. according to google :
      The UDP protocol also has error-checking but doesn't have any error-recovery. Error-recovery: using sequence of bytes to detect error occurs, and if it happen, resend it.

  • @MrFRankor
    @MrFRankor 6 років тому +2

    Create content!!

  • @uwelab6590
    @uwelab6590 4 роки тому

    TCP uses errordetection, UDP not.