TCP - 12 simple ideas to explain the Transmission Control Protocol

Sdílet
Vložit
  • čas přidán 7. 06. 2024
  • TCP has been the predominate layer 4 protocol that has served the Internet for the last 40 years. In this video we take a deep dive into TCP and illustrate how all of these concepts work together: Sequence Numbers, Acknowledgement Numbers, Window Size, Delayed Acknowledgements, Flow Control, TCP Connection Closures, and FIN + Reset Segments.
    I've broken up TCP into 12 simple distinct ideas, and if you can understand each of those 12 ideas, then you can say you can understand TCP better than most. Hope you enjoy this TCP deep dive!
    00:00 - Intro
    00:30 - Pre-Requisites - background knowledge of TCP and UDP
    00:48 - Twelve Ideas to understand TCP and the TCP Header
    01:32 - Idea 1 - Sequence Numbers and Acknowledgement Numbers
    03:00 - Idea 2 - Sequence & Acknowledgement Numbers are tracking BYTES sent and received
    04:23 - Understanding Sequence Numbers and Acknowledgement Numbers
    06:49 - Idea 3 - TCP Retransmission Timer
    09:48 - Idea 4 - Delayed Acknowledgements - Acknowledgments are Cumulative
    12:15 - Idea 5 - Window Size and Bytes in Flight
    15:00 - Delayed ACKs vs Window Size
    15:26 - Idea 6 - Window Size, TCP Headers and Flow Control
    18:25 - Idea 7 - TCP is Bidirectional - both peers have SEQ# and ACK#
    21:50 - Empty Acknowledgements, Duplicate Acks, TCP analysis, TCP troubleshooting
    23:47 - Idea 8 - Initial Sequence Numbers (ISNs) are Random
    24:50 - Idea 9 - TCP Three Way Handshake - SYN, SYN ACK, ACK
    26:40 - 3-way Handshake, SYN flags, ACK Flags, and the TCP Header
    28:40 - Initial Window Size is set in the three-way handshake
    29:19 - SYN packets increase the Sequence Number -- The Phantom Byte
    30:44 - ACK flag is turned on for all TCP segments, except the initial SYN
    31:22 - Idea 10 - Two methods for TCP to close a connection - FIN and RST
    32:20 - Idea 11 - FIN Flags and Four Way Connection Closure
    34:40 - FIN Flags do not need to be sequential
    38:05 - Phantom Byte inside the FIN and SYN Segments
    39:38 - Idea 12 - RST Flags instantly terminate a TCP connection
    42:00 - Want more? Help me blow up these videos and I'll create the full TCP Masterclass
    42:47 - Networking - The Internet, the Cloud, and everything in between
    TCP vs UDP - Explaining Facts and Debunking Myths - TCP Masterclass - Lesson 1
    • TCP vs UDP - Explainin...
    === Networking Fundamentals - Module 1 ===
    Lesson 1 - Network Devices
    Part 1: • Network Devices - Host...
    Part 2: • Hub, Bridge, Switch, R...
    Lesson 2 - OSI Model
    Part 1: • OSI Model: A Practical...
    Part 2: • OSI Model: A Practical...
    Lesson 3 - Everything Hosts to do speak on the Internet
    Part 1: • Everything Hosts do to...
    Part 2: • Everything Hosts do to...
    Lesson 4 - Everything Switches do to facilitate communication
    Part 1: • Everything Switches do...
    Part 2: • Everything Switches do...
    Lesson 5 - Everything Routers do to facilitate communication
    Part 1: • Everything Routers do ...
    Part 2: • Everything Routers do ...
    Part 3: • Router Hierarchies and...
    Lesson 6 - Networking Protocols
    - • Network Protocols - AR...
    - ARP, FTP, SMTP, HTTP, SSL, TLS, HTTPS, DNS, DHCP
    - Four items MUST be configured for Internet Connectivity
    Lesson 7 - How Data moves through the Internet
    - • How Data moves through...
    - Interview question: What happens when you type "site.com" into a web browser?
    ====
    🖧 Full Networking Fundamentals series (Module 1 - all FREE):
    • Networking Fundamentals
    📜 Studying for your CCNA?
    www.practicalnetworking.net/i...
    🧮 Want to learn Subnetting?
    SubnetIPv4.com
    🔐 Want to learn about SSL, TLS, and Cryptography?
    • Practical TLS - Free L...
    📖 Other Courses: classes.pracnet.net/
    💬 Discord: / discord
    If you enjoyed this content, then please tell one other person about this series. Sharing this video is the best way you can thank me and return the favor for this free content. Plus, you can get free Internet Points (karma, likes, retweets, etc) by simply sharing this content across social media communities. =) Thank you.
    ---
  • Věda a technologie

Komentáře • 304

  • @PracticalNetworking
    @PracticalNetworking  Před rokem +36

    📺🧩 TCP Masterclass: czcams.com/play/PLIFyRwBY_4bS-PQZoF0UySdG0sH9VA0bn.html
    🚨📢 Announcement: *I'm creating a full Networking course!* Details --> pracnet.net/networking
    👉👉 Enroll now for *discounted early access* to the course and a chance to help shape its content.
    📺🕸 Module 1 of the course is *free* : czcams.com/play/PLIFyRwBY_4bRLmKfP1KnZA6rZbRHtxmXi.html
    But what about the TCP Masterclass?
    I have about 10-12 lessons scoped out for a comprehensive TCP Masterclass, and I'd love to create it at some point.
    When I released the first three lessons, I offered a challenge: If any one video garnered 100k views in the first 6 months, I would create the full TCP Masterclass. Unfortunately, we didn't meet that goal, so I had to prioritize other projects.
    But I haven't given up hope! *If you are interested in seeing the full TCP Masterclass developed, then the best way to bring that to fruition is to spread the word about this content*.
    Doing so will help others fully understand TCP and UDP and bring me closer to committing to creating the full series... Plus, think of all the Internet Points you can get for sharing this series (likes, karma, follows, etc) 😉
    If you share this series, please use this link: czcams.com/play/PLIFyRwBY_4bS-PQZoF0UySdG0sH9VA0bn.html
    Otherwise, I genuinely hope you got a lot out of the first three lessons. Thank you for all the encouraging words in the comments. =)

    • @DeepakKumar-ov8ko
      @DeepakKumar-ov8ko Před rokem +1

      Hi Ed, I am already a subscriber of tls/ssl course . Could you please tell me more about the newly launched networking course like you will OSPF,BGP in detail ? Just a small request on any update ipsec vpn as i am waiting for almost 5-6 years when i started following you😀 Any idea about length of course in hours ?

    • @amitpatil1900
      @amitpatil1900 Před rokem +1

      Please share content of the course.

    • @DeepakKumar-ov8ko
      @DeepakKumar-ov8ko Před rokem +2

      Purchased this course.✌

    • @nanosni
      @nanosni Před rokem +2

      Hi. When do you expect to release the completed course?

    • @PracticalNetworking
      @PracticalNetworking  Před rokem

      @@amitpatil1900 Details on the full course are in these two links:
      - classes.pracnet.net/courses/networking
      - www.practicalnetworking.net/index/networking-fundamentals-how-data-moves-through-the-internet/
      More details will be added shortly

  • @jamess1081
    @jamess1081 Před rokem +71

    Ed, I just wanted to take a moment to express my gratitude for the outstanding educational content that you provide on your CZcams channel. The educational network courses that you have created is one of the best on the platform, offering a wealth of information on a wide range of topics. Your courses are well-structured and easy to follow, making it accessible to learners of all levels. The level of detail and expertise you bring to each of your lessons is truly exceptional, and your passion for teaching shines through in every video.

  • @user-uo9oj6oo9t
    @user-uo9oj6oo9t Před 3 měsíci +10

    The idea behind dividing the concepts into several ideas and explaining it one by one in detail it's just awesome.Loved the way you taught TCP.🙇‍♂️

  • @FuzNuts
    @FuzNuts Před rokem +4

    Your entire video series has been amazing. You are very talented in explaining things fluidly and simply.

  • @rookyere
    @rookyere Před rokem +1

    The best tcp video I've watched so far - vivid and systematic. Looking forward to the masterclass. 👍

  • @cait3235
    @cait3235 Před 8 měsíci +2

    Your videos have been so incredibly helpful to actually understand these concepts, thank you for explaining things so clearly!

  • @leonardoffor6515
    @leonardoffor6515 Před 10 měsíci

    Just finished this series and I must say I'm thoroughly impressed. You are God sent Ed. Thanks for making this free and accessible for all.

  • @AL300bed
    @AL300bed Před 11 měsíci +3

    The most comprehensive explanation of TCP I have ever watched. I am looking forwarding for the full TCP master class.

  • @dragonbg6105
    @dragonbg6105 Před rokem +9

    I would rate you top 1 teacher on youtube. Not only networking teacher, but like your networking teaching is the best teaching compared to teachers in any field.

  • @seradfb345
    @seradfb345 Před 6 měsíci

    I had gone through about 4 videos which left me a bit confused, but found your video had excellent clarity. Each point was explained without ambiguity and really helped me to get it. Thanks a lot!

  • @AnantaAkash.Podder
    @AnantaAkash.Podder Před 4 měsíci

    I swear this is the Most Detailed Video for TCP Connection inner-working... Thanks for the so much detailed Explanation ❤️

  • @khalidjibril9066
    @khalidjibril9066 Před 4 měsíci +1

    I don't normally comment on CZcams videos but I just had to say that this is one of my favourite explanation videos ever. The video was super clear, easy to follow and the diagrams were icing on the cake. Thanks a lot mate!

  • @krazydji
    @krazydji Před rokem +3

    Thank you, this is truly one of the best courses I have listened to. Clear, precise, instructive. THANKS

  • @user-qh9vs8pe1e
    @user-qh9vs8pe1e Před rokem +4

    I was looking for clear step by step explanation of how tcp works, glad that I found your channel :)

  • @krkartick
    @krkartick Před 9 měsíci

    Excellent video, after going through a ton of videos about TCP on youtube, by far this is the best and simple video that explains the complex TCP concepts very well. Awesome job. Really like your videos.
    It is the combination of identifying key concepts in an order, visual representation and concise explanation that makes this video standout.

  • @shellohd8421
    @shellohd8421 Před 3 měsíci +3

    I've never seen someone that is able to compress lectures long of material into 44 mins of video white taking the animations into consideration.. Keep up with the content !

    • @PracticalNetworking
      @PracticalNetworking  Před 3 měsíci +1

      Thank you for the kind words, and thank you for directly supporting the channel. Glad you enjoyed this video =)

  • @amlananupam1901
    @amlananupam1901 Před 8 měsíci +2

    Wow, this video is a gem! Your presentation on TCP connections is top-notch. The clarity in explaining the complex concept of TCP really stands out. I appreciate how you break down the topic in such an understandable way. It's evident that a lot of effort went into making this, and it's greatly appreciated! Kudos to you!

    • @PracticalNetworking
      @PracticalNetworking  Před 8 měsíci

      Thanks for the kind words and recognizing the effort it took to put this together =)

  • @tng6628
    @tng6628 Před rokem

    This is gold content. Straight to the point. Thank you Ed.

  • @suave9901
    @suave9901 Před měsícem

    Some people are just called and born to do certain things. Yours is certainly teaching mate! I watch these videos as a refresher on certain concepts, but I must say you blow it out of the park! More power to you! Keep them coming pls!

  • @ashokreddyb7867
    @ashokreddyb7867 Před rokem

    Your pedagogy is simply awesome. Great work. Kudos

  • @mumtahinaparvin7668
    @mumtahinaparvin7668 Před rokem +1

    Before coming to this channel, i used to think i was the only one weak at networking and i had no possibility to learn it. But now i think it is possible to be boss at networking thanks to you.🥰

  • @fakeaccount3415
    @fakeaccount3415 Před 3 měsíci +1

    Please continue the series . words cant explain how useful your content is .excellent animated content even normal people can understand the topic easily .

  • @cslb38
    @cslb38 Před rokem +20

    Fantastic work here as always Ed. Its really a shame that millions of tubers aren't into networking. For those who are lets help share these amazing vids. Looking forward to the course!

  • @misha2082
    @misha2082 Před rokem

    What a lesson. Such a simple explanation. Kudos!

  • @ErrolSimmonds-fm7bn
    @ErrolSimmonds-fm7bn Před rokem +3

    I think it's only fitting that I start off by saying, BRILLIANT!!!! Complicated brought down to Simple. I've always been curious as to how these numbers appear in Wireshark. Hopefully we have a lot more CZcamsrs paying attention to this video. You have set the bar extremely high. Thank you and I look forward to more great content!!!!

  • @amirsaid
    @amirsaid Před rokem +1

    Dude Great video! I finally have a clear understanding of TCP/ip thanks to your explanations. Keep up the good work!

  • @adamstrejcovsky8257
    @adamstrejcovsky8257 Před 6 měsíci

    Absolutely perfect channel! So glad I discovered it. Amazing job!

  • @ramsfo
    @ramsfo Před 5 měsíci

    Thank you so much, Sir! What a Phenomenal 'teaching' skill you possess, Ed. Mind blowing and this 44 minutes session barely felt like it. BTW, I am 'not' a technical engineer - technical program manager and you made me understand this 12 methods to understand TCP supremely well ever in my 26 years of work experience :)). Salute and a lot of respect to you. Excellent stuff!!

  • @x0rZ15t
    @x0rZ15t Před rokem +4

    Love the explanation with visual schematics. Thank you for your awesome work!

  • @jimboelterdotcomm9153
    @jimboelterdotcomm9153 Před 11 měsíci

    I've seen video breakdowns of TCP before, but this is perhaps the best I've encountered. Great job!

  • @nulllogos5846
    @nulllogos5846 Před rokem

    Again, you hit it out of the ballpark. Fantastic.

  • @troysipple2591
    @troysipple2591 Před 10 měsíci

    This is the best video on TCP I have ever watched.

  • @bethankfultogod4538
    @bethankfultogod4538 Před rokem

    Thanks for breaking down TCP to easily understand.

  • @cadsticcadsticc1322
    @cadsticcadsticc1322 Před rokem

    Seeing what I am able to understand, proves you can teach an old dog new tricks. Thank you for making this topic user friendly.

  • @ashutoshmahapatra537
    @ashutoshmahapatra537 Před 4 měsíci +1

    Just a word of appreciation I've networking exam today and your videos have gave a in-depth practical understanding that's very rarely found in others! :)

  • @nemalisridevi7833
    @nemalisridevi7833 Před měsícem

    Your channel is gold in network concepts thankyou!

  • @ZinouThreepwood
    @ZinouThreepwood Před rokem

    Great content & great instructor explaining the concepts with an excellent method ! Thank you so much Ed ! keep it up !

  • @UCFc1XDsWoHaZmXom2KVxvuA
    @UCFc1XDsWoHaZmXom2KVxvuA Před 3 měsíci

    Wow this is one of the best lectures in computing ever!!

  • @felipica
    @felipica Před 3 měsíci

    best video about tcp ive ever seen in my life

  • @morenokratter669
    @morenokratter669 Před rokem

    Your Channel is awesome! So much Information transmitted with professionalism! Very helpful to understand these things with your explanation. Keep up with your great content. Thank you!

  • @shujauttali2608
    @shujauttali2608 Před rokem

    The easiest Explanation possible. Hats off

  • @Fredsch08
    @Fredsch08 Před 6 měsíci

    Another great job, sir.
    This is one of the best explanations of TCP protocol.
    Thanks a lot for taking the time to create such fantastic content.

  • @swapnilthawari7314
    @swapnilthawari7314 Před rokem +6

    Hats off Ed. Truly your a great teacher.

  • @eyaGHrd
    @eyaGHrd Před rokem

    please finish these awesome series i just can't understand it from nobody else but you , you simplified it and made it more enjoyable , thanks for your efforts and we are waiting for more 🤩😍😍😍😍

  • @amitpatil1900
    @amitpatil1900 Před rokem +3

    As always great detailed explanation, Thank you Ed!!

  • @mohamedabdi6419
    @mohamedabdi6419 Před rokem +3

    Excellent work, as usual, Ed! I'm delighted to have bought the course early on.

  • @lemianelson2012
    @lemianelson2012 Před rokem +19

    Show me a tutor that breaks down concepts better…. More grease to your elbows 👏🏾👏🏾👏🏾👏🏾👑

  • @Echiduna
    @Echiduna Před 10 měsíci

    Great content! Thank you so much for devoting your time to this free video.

  • @K4pitell
    @K4pitell Před 2 měsíci

    Thank you very much for this video. It helped me a lot. You're a great teacher and I'm glad I found your channel.

  • @criminalgaming4842
    @criminalgaming4842 Před 9 měsíci

    Understood the concept of TCP very well. All credits to you🤝

  • @surendras5853
    @surendras5853 Před rokem +1

    Joined this course today... Very Excited to channel my efforts in right direction.. Ed.. you are the modern GURU..

  • @karthik2705
    @karthik2705 Před 8 měsíci +4

    This channel deserves better. Wonderful explanation. Learnt this clearly after 4 yrs in networking field

    • @PracticalNetworking
      @PracticalNetworking  Před 8 měsíci +1

      Glad this helped =). Most of my content is based around "How did I wish someone explained it to me when I was first learning"

  • @akathul691
    @akathul691 Před rokem

    I have no words to appreciate you...simply out of the world ❤

  • @fastrobreetus
    @fastrobreetus Před měsícem

    Sir, you are a true genius! I have learned so much from these videos!

  • @viktorkovalets4125
    @viktorkovalets4125 Před měsícem

    Man, you are awesome! Explanation on a high level! Thank you

  • @user-vg5gn3zp2m
    @user-vg5gn3zp2m Před 3 měsíci +1

    I just watched 5 mins of your video, this most complicated concept is start making sense. Thank you so much this video.

    • @PracticalNetworking
      @PracticalNetworking  Před 2 měsíci

      Glad you're enjoying this video =) I worked soo hard on the TCP lesson.

  • @user-gb3gc7bq8h
    @user-gb3gc7bq8h Před 10 měsíci

    Hi Ed, it was very good session. As always you have cleared myth of TCP framework. Eagerly waiting for the second session. Plz upload as soon as possible.. Once again big thanks for your excellent video... eagerly waiting for your second series

  • @emiliokimotho
    @emiliokimotho Před rokem +1

    Best networking explanations ever. I am becoming addicted to this channel.

    • @PracticalNetworking
      @PracticalNetworking  Před rokem

      Excellent, Emilio. Of all the addictions you could have, I imagine this is the least unhealthy ;) Glad you're getting a lot out of this content.

  • @ssh-dev
    @ssh-dev Před 10 měsíci +2

    This was a great explanation ❤️

  • @constantinzaharia1800

    Great content! Presentation easy to follow. Many thanks indeed

  • @timstring0902
    @timstring0902 Před rokem

    Thank you so much for a such a detailed explanation of TCP🙏🏻

  • @ikopysitsky
    @ikopysitsky Před 9 měsíci +1

    Great video! Looking forward to more content.

  • @TheSony7up
    @TheSony7up Před rokem +1

    The best is Ed. He does a remarkable job of simplifying complex technologies for us by breaking them down into manageable chunks.

  • @bill0cao
    @bill0cao Před 5 měsíci

    What a great teaching! Thanks!

  • @freebyte1983
    @freebyte1983 Před 9 dny

    perfect , TCP Master class , thank you sir.

  • @finnwarner8573
    @finnwarner8573 Před rokem +4

    I rarely comment on videos, but this was fantastic! Well done.

    • @PracticalNetworking
      @PracticalNetworking  Před rokem

      Thank you FInn. I appreciate you taking the time to leave a comment and that you enjoyed this video. Cheers!

  • @chezwoods7575
    @chezwoods7575 Před 3 měsíci +1

    PHENOMENAL JOB SIR! THANK YOU. So easy to follow and understand. clear and confident information.

  • @bhagyashreeaher7429
    @bhagyashreeaher7429 Před 5 měsíci

    Great content !!! Very helpful
    Waiting for full series Thanks

  • @dustcore
    @dustcore Před rokem +1

    Ed thanks for the great break down. This definitely helped improve my understand of how TCP works.

  • @jaysongalicia8142
    @jaysongalicia8142 Před rokem +5

    TCP is one of those topics that is super easy to learn but hard to master because of its depth. You can fix TCP-level errors if you learn TCP fundamentally. I've been learning Wireshark recently, and TCP topics are confusing. This video helped me understand some confusing topics. thank you!!

    • @PracticalNetworking
      @PracticalNetworking  Před rokem

      Hi Jayson, absolutely! Learning the fundamentals well is critical. Glad you enjoyed this video! Cheers.

  • @nobody2anybody
    @nobody2anybody Před rokem +1

    Thanks ed, waiting for your full TCP and UDP series ...

  • @akhileshkaushik1231
    @akhileshkaushik1231 Před 8 měsíci

    You are doing an amazing job. God bless you.

  • @manigandansrinivasan5194
    @manigandansrinivasan5194 Před 11 měsíci +1

    Excellent ..Never seen complex topic explained simple way....

  • @ermarkar3375
    @ermarkar3375 Před rokem

    Thanks!!! this is the Best TCP explanation...

  • @YaseenAliKhan804
    @YaseenAliKhan804 Před rokem +2

    You are working hard sir. Keep going watching from INDIA

  • @dpi3
    @dpi3 Před 8 měsíci +2

    one simply does not simply provide the best TCP video on the internet, but this man does.
    funnily, i was genuinely sad when BOB closed the connection on ALICE 😆

    • @PracticalNetworking
      @PracticalNetworking  Před 8 měsíci

      It's OK! They can initiate a new connection at any time ;p
      (jokes aside, thanks for the kind words, glad you enjoyed the video!)

  • @Gurl_nnnn
    @Gurl_nnnn Před 4 měsíci

    Thank you so much for making me love networking !!!!

  • @vincecater723
    @vincecater723 Před měsícem

    Another brilliant video about TCP connection!

  • @DJ_Vaiju
    @DJ_Vaiju Před 6 měsíci

    hats off to your CN course dude . Very Nice 😊. Keep it up. GBU. ❤

  • @rahmalh
    @rahmalh Před rokem

    Very well explained

  • @user-vc1xw8vq5k
    @user-vc1xw8vq5k Před 11 měsíci

    Thanks alot....perfect explanation sir

  • @harmanmehrday
    @harmanmehrday Před rokem

    I don't even know how to express, that your method of explaining is out of this world. I understood each word you said and obviously the topic. I am looking for videos on routing protocols and vpn protocols. I can buy them if they are available.

  • @mikeilkycook6832
    @mikeilkycook6832 Před 3 měsíci +1

    Jolly helpful.
    Thanks.
    Subscribed.

  • @anininan4046
    @anininan4046 Před měsícem +1

    Well explained 💯

  • @freemasry-gr8hw
    @freemasry-gr8hw Před 9 měsíci

    you are amazing bro, thank you, best explanation I have found and very good animation

  • @asimrashid4354
    @asimrashid4354 Před 3 měsíci +1

    Great explaination

  • @mohammedjaffarsadiq5914

    Really indepth explanation, thanks a lot

  • @rico5342
    @rico5342 Před rokem

    awsome explanation 🤩 !

  • @rpinto8800
    @rpinto8800 Před rokem

    Thank you, really good explanation!

  • @sushilshiwaniwal
    @sushilshiwaniwal Před měsícem

    Thank you for the thorough explanation

  • @triumphant_54
    @triumphant_54 Před 13 dny

    you're good at this Sir. Hat off to you !

  • @learnertariq
    @learnertariq Před rokem

    Your videos are really amazing

  • @gnikhil1987
    @gnikhil1987 Před rokem

    Gold Standard video by Ed

  • @akshayghadi6598
    @akshayghadi6598 Před 22 dny

    Hello sir. Love from India..great teaching skills❤

  • @Agent_Orange_Peel
    @Agent_Orange_Peel Před rokem +1

    Another great video. Thank you.

  • @adetoyeadebayo2187
    @adetoyeadebayo2187 Před rokem

    The practical and efficient way to understand the TCP

  • @somanathsshenoy
    @somanathsshenoy Před rokem

    Here I am watching your video at midnight even though i am down with fever and cough. The medicine with high doses should sedate me but i am getting energized seeing your video

  • @tyreseobediahzeon1743

    Top-notch teaching

  • @Yes_50
    @Yes_50 Před rokem

    You are the best tutor in networking.

  • @rochuolmos
    @rochuolmos Před 9 měsíci +1

    how do you make it so easy to understaaaaaaaaand? THANKS A LOT. Super clear and simple to understand. Best networking professor around.