TCP vs UDP - Explaining Facts and Debunking Myths - TCP Masterclass
Practical Networking Practical Networking
238K subscribers
79,421 views
0

 Published On Jan 30, 2023

TCP and UDP are the predominate Layer 4 protocols that have been used since the dawn of the Internet. In this video, we discuss TCP and UDP without getting bogged down with jargon or incomplete definitions.

We compare TCP and UDP across 4 dimensions:
- Connection Oriented vs Not Connection Oriented
- Reliable vs Unreliable (although, I don't like the term "unreliable" here)
- Flow Control vs No Flow Control
- More Overhead vs Less Overhead

Then we discuss and dispel four Myths about TCP and UDP:
- UDP is Faster
- TCP is More Secure
- UDP is Unreliable
- TCP is Guaranteed Delivery

A note about the myths:

As I mention in the video, a lot of what makes these "myths" is how you interpret the words -- in the end, it could all come down to syntax. This video is a teaching tool, I mean to teach you (the viewer) about TCP and UDP, and if this video can lead you to understand how some interpretations of "UDP is Faster" is correct, and some interpretations of "UDP is Faster" is incorrect, then I will consider my goal a success.

Correct Interpretations of "UDP is Faster": UDP has a higher maximum potential bandwidth, UDP has less overhead, UDP has less serialization delay, UDP has less inspection delay

Incorrect Interpretations of "UDP is Faster": UDP packets move faster than TCP packets, UDP always has faster throughput, UDP has no latency

00:00 - Intro
00:40 - Pre-Requisites - OSI Model Layer 4
01:15 - Agenda for this video
01:33 - Connection Oriented vs Not Connection Oriented
03:52 - TCP is Reliable -- but what does that mean?
04:07 - Confirmation of Data Delivery
04:45 - Application is Aware of Errors
05:41 - Data Ordering and Sequence Numbers
07:55 - Notice I didn't say UDP is not reliable
08:08 - Flow Control & Bandwidth Utilization
10:30 - TCP has More Overhead, UDP has Less Overhead
11:56 - UDP Header, 4 fields, 8 bytes
12:21 - TCP Header, 11 fields, 20-60 bytes
13:27 - Dispelling Myths about TCP and UDP
13:53 - UDP is Faster ... Not Exactly -- Myth 1
14:47 - TCP is more Secure ... WRONG -- Myth 2
15:48 - UDP is Unreliable ... NOPE -- Myth 3
16:52 - TCP is Guaranteed Delivery ... Well, not really =/ -- Myth 4
17:55 - There is so much more to discuss with TCP
19:30 - Summary

#tcp #networking #internet

Transmission Control Protocol, User Datagram Protocol,

=== Networking Fundamentals - Module 1 ===
Lesson 1 - Network Devices
Part 1:    • Network Devices - Hosts, IP Addresses...  
Part 2:    • Hub, Bridge, Switch, Router - Network...  

Lesson 2 - OSI Model
Part 1:    • OSI Model: A Practical Perspective - ...  
Part 2:    • OSI Model: A Practical Perspective - ...  

Lesson 3 - Everything Hosts to do speak on the Internet
Part 1:    • Everything Hosts do to speak on the I...  
Part 2:    • Everything Hosts do to speak on the I...  

Lesson 4 - Everything Switches do to facilitate communication
Part 1:    • Everything Switches do - Part 1 - Net...  
Part 2:    • Everything Switches do - Part 2 - Net...  

Lesson 5 - Everything Routers do to facilitate communication
Part 1:    • Everything Routers do - Part 1 - Netw...  
Part 2:    • Everything Routers do - Part 2 - How ...  
Part 3:    • Router Hierarchies and Route Summariz...  

Lesson 6 - Networking Protocols
-    • Network Protocols - ARP, FTP, SMTP, H...  
- 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 the Internet -...  
- 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?
https://www.practicalnetworking.net/i...

🧮 Want to learn Subnetting?
https://SubnetIPv4.com

🔐 Want to learn about SSL, TLS, and Cryptography?
   • Practical TLS - Free Lessons from my ...  

📖 Other Courses: https://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.

---

show more

Share/Embed