Introduction to Computer Network Series | Chai aur computer network — Transcript
Full transcript
- 0:00Yes. It's the era of AI these days.
- 0:04Everything should revolve around AI.
- 0:07When we make videos or plan a series,
- 0:09the first topic that comes up is, "
- 0:11Since AI is getting so much traction
- 0:13and people want to see this video,
- 0:15should we do something around AI or
- 0:16something around probabilistic system
- 0:18design?" But sometimes we think, "No,
- 0:22let's go a step further and discuss
- 0:25some foundational topics." Now, look,
- 0:29whether AI comes or not, whatever
- 0:31happens, no matter how the code is
- 0:33written, whoever writes it, no matter
- 0:35what level of interaction, some
- 0:36fundamentals and foundations will
- 0:38always remain the same. They're so well
- 0:41designed that we never think about them
- 0:43, so we don't get much of a chance to
- 0:46discuss them because they rarely have
- 0:48bugs, and you probably never imagined
- 0:50that bugs exist in them. Yes, they do.
- 0:53So, when I mention foundations, the
- 0:55first topic that comes to mind is, well
- 0:57, some computer-related foundations,
- 0:59like data structures and algorithms. I
- 1:02know, data structures and algorithms
- 1:04have gotten so much hype, partly
- 1:05because of interviews and partly
- 1:06because of courses, that we assume that
- 1:08when we're talking about computer
- 1:09fundamentals or foundations, we're only
- 1:11talking about DSA. That's not true. I
- 1:14agree that DSA is one round of
- 1:16interviews. Sometimes there are more
- 1:18rounds. But it's not that engineers
- 1:20aren't asked anything else, or that
- 1:22they're not expected to know other
- 1:24foundations. Another topic is equally
- 1:27important: computer networks. Now, no
- 1:30matter who writes the code, it's on
- 1:31your local host, it goes to the server,
- 1:33and how many clients will the server
- 1:34communicate with? Ultimately, all of
- 1:37this hinges on computer networks. How
- 1:39does one computer communicate with
- 1:41another? What are its protocols? How
- 1:43does this mechanism work? It's equally
- 1:45important to know all of this. Now,
- 1:47such series are actually created in two
- 1:50or three ways. The first method is
- 1:53where you're presented with a topic or
- 1:55question and told, "This is the exact
- 1:58answer. Study this much for the
- 1:59interview; you don't need to study more
- 2:00." That's fine. Then there are topics
- 2:04created, like, "Look, here's a topic,
- 2:05I'm giving you three bullet points.
- 2:07Memorize it for the exam and bring it.
- 2:09That's it." That's fine, because
- 2:11there's a requirement for that too.
- 2:13This isn't either of those series. This
- 2:16series is for curious engineers who
- 2:18truly want to understand computer
- 2:20networks as engineers. They want a
- 2:22detailed discussion of what it is, how
- 2:24it works, and how much networking
- 2:26should a software engineer study, and
- 2:28how important it is. We wanted to cover
- 2:32all of that in this series, and we have
- 2:34. These videos don't prepare you for
- 2:36any CCNA or computer network exams.
- 2:38They go beyond that. How much knowledge
- 2:41a fundamental engineer needs, and how
- 2:43to treat a curiosity. How much detail,
- 2:46depth, and practical examples using
- 2:48Wireshark are all included. All of that
- 2:51is included in this computer network
- 2:53series. Now, this series is a little
- 2:56unique because the most difficult part
- 2:58of this series was finishing it. Yes,
- 3:00sir. And you know, until the series is
- 3:02finished, I don't make any
- 3:04announcements, not even a single word,
- 3:05until it's complete. This one is a
- 3:08little unique. We've already made about
- 3:1125-30 or 25-26 videos of it. We're
- 3:13rolling them out slowly. They're mostly
- 3:15in the editing process. Many of them
- 3:17are already edited. That's why I'm
- 3:19bringing this series to life. But will
- 3:21this series end here? That's the most
- 3:24interesting part. No, we'll definitely
- 3:26release all the videos we initially
- 3:27planned for the first phase. It has a
- 3:30very long and impressive playlist.
- 3:32However, there are many computer
- 3:33network topics that later make us think
- 3:35, "Oh, this one, and this one, could be
- 3:38introduced a little bit." So, maybe
- 3:40we'll keep this series open-handed so
- 3:42that if we come across other topics
- 3:45later, we can add them on. But it's not
- 3:48like we're going to run this forever.
- 3:50Because I personally believe that the
- 3:52end of things is more important than
- 3:54the beginning. Especially in the course
- 3:57playlists, I'll definitely inform you
- 4:00when our first phase is over. After
- 4:02that, there will be only a few videos.
- 4:04It's not like there will be 50 videos
- 4:05after that. That won't happen. But you
- 4:07can assume that this series will run at
- 4:09an initial level, with between 25 and
- 4:1126 videos. And the length of the videos
- 4:14also varies slightly because we've
- 4:16divided them topic-wise. Some videos
- 4:18are 30 minutes long, while others end
- 4:21in 5-7 minutes. So, there are different
- 4:23takes, so you'll get the full idea. But
- 4:25rest assured, our promise with this
- 4:28series is that you'll receive
- 4:30experienced knowledge. Not just
- 4:32knowledge, but the experienced
- 4:34knowledge that we and our team have
- 4:36learned and understood about computer
- 4:38networks over the years, we'll share it
- 4:40all with you here. It took a lot of
- 4:42hard work to create this. A lot of
- 4:44effort. So, our only request is that we
- 4:46don't have a high comment target. The
- 4:49comment target for each video will be
- 4:51100 videos. I'm giving you an
- 4:52introduction to just the first video.
- 4:54After that, you'll simply watch the
- 4:55videos. Don't worry about it. But it's
- 4:57important to come and talk a little.
- 4:59It's important to set a comment target.
- 5:01And if you still feel like it's
- 5:03important to mention the date you're
- 5:05watching the video, the first thing you
- 5:07should know is the date. Furthermore,
- 5:09if you feel like we should touch on
- 5:11this topic further or elaborate on it a
- 5:12little more, if you understood this a
- 5:14little less, or this a little more,
- 5:15please let us know in the comments. We
- 5:17analyze the comments for each video and
- 5:20, based on that, we create topics and
- 5:23videos. So, that was just a brief
- 5:26introduction. So, welcome to Computer
- 5:29Networks. One thing you should
- 5:31definitely do is share it with all your
- 5:33friends. Share it on social media as
- 5:35well. Twitter, Lindin, wherever you're
- 5:37active, saying, "Yes, finally, how is a
- 5:39computer network from an engineer's
- 5:41perspective?" Let's read that too.
- 5:43Curiosity-focused. Not exam-focused.
- 5:45Curiosity-focused.
- 5:47Hello everyone, welcome to the
- 5:49introduction video of our Networking
- 5:51series. Okay? So, every day we make
- 5:53hundreds of HTTP requests when we visit
- 5:55any website. We go to YouTube, we go to
- 5:58Netflix. As software developers, we
- 6:00spin up servers and handle requests. We
- 6:03build front ends. From there, we send
- 6:04requests. Get requests, post requests.
- 6:06Right? We do all these things without
- 6:08realizing that network communication is
- 6:11crucial in all of this. Right? That's
- 6:13why understanding networks as a
- 6:15software engineer is very, very
- 6:17critical. So, whenever you watch videos
- 6:19, series, send requests from the front
- 6:22end, how they travel over the network,
- 6:24what operations are performed on it,
- 6:27understanding all of this is nothing
- 6:29but understanding the network. And in
- 6:31this playlist, we're going to demystify
- 6:33that completely. So, let's jump into
- 6:35the screen. And let's see what topics
- 6:37we'll be making videos on. So, the
- 6:39first video we'll have in this playlist
- 6:41is "What Happens When You Make an HTTP
- 6:43Request." Yes, because I'm specifically
- 6:46creating this playlist for software
- 6:48engineers, those who already have an
- 6:50idea about servers (front ends) and how
- 6:52an HTTP server handles requests. But
- 6:54they don't know what happens underneath
- 6:55the hood. Whenever you get an HTTP
- 6:57request, you get an HTTP request. Then,
- 6:59what happens to that request underneath
- 7:00the hood? All we know is that we get it
- 7:02, it reaches the server, and we get a
- 7:04response. But everything that happens
- 7:06in between, we'll explore in detail
- 7:08throughout this playlist. So that's why
- 7:11I've included the first video so I can
- 7:13give you an introduction to what
- 7:15happens when you make an HTTP request.
- 7:17You may not understand much of what I'm
- 7:20teaching specifically in this video.
- 7:22But that's okay because I want to
- 7:24introduce you to some concepts in this
- 7:27video, concepts I'll explain further in
- 7:30future videos. That's why I've placed
- 7:33this video here, where we'll kind of
- 7:35touch on the networking part. Okay?
- 7:37Then we'll slide into networking
- 7:39fundamentals. Our base, our core of
- 7:41networking, is the structure of an IP.
- 7:43What is an IP? Okay? What is a network?
- 7:45What is a host? What is a subnet? What
- 7:48is a subnet mask? What is a CID range?
- 7:50What is a default gateway? What is a
- 7:51MAC address? Okay? Then we'll see what
- 7:53is Address Resolution Protocol? It's a
- 7:55very important protocol. Then we'll see
- 7:57what is a TCP-IP model? Without
- 7:58understanding the TCP-IP model? You
- 8:00can't understand networking, right?
- 8:01We'll see the difference between MAC
- 8:03and IP. Why we have two different
- 8:05address schemes and what the need is
- 8:07for one over the other. Right? Then
- 8:08we'll see how routing works in depth.
- 8:10Meaning, whenever we need to send a
- 8:13packet from any device to any other
- 8:15device, we'll see in detail how it
- 8:18travels over the network over the wire.
- 8:21We'll see it step by step in this video
- 8:23. Once we're done with our fundamentals
- 8:25, once we're done with IP and MAC
- 8:26addresses, we'll see our first
- 8:28higher-level protocol, which is ICMP (
- 8:30Internet Control Messaging Protocol),
- 8:32one of the most important and critical
- 8:34protocols in networking. Once you
- 8:35understand this, then you'll understand
- 8:37what ping traceroute is. You'll also
- 8:39get an idea of which network utilities
- 8:41you use that use ICMP under the hood.
- 8:44Then we'll see what is ping? What is
- 8:46traceroute? What are their use cases?
- 8:48And we'll also see how they work under
- 8:50the hood. We'll take a deeper look at
- 8:53how ping uses ICMP and how traceroute
- 8:56uses ICMP to function. Okay? Once we're
- 8:58done with our networking fundamentals,
- 9:00we'll jump into our transport layer.
- 9:02First, we'll see what is UDP. We'll
- 9:04take a complete overview of UDP. We'll
- 9:06look at its use cases. What is it? What
- 9:08are the different features of UDP?
- 9:10We'll look at that. Then we'll see the
- 9:12complete anatomy of a UDP datagram.
- 9:14Okay? So, a UDP datagram, which is a
- 9:16data unit of the User Datagram Protocol
- 9:18, is UDP. We'll look at its entire
- 9:20structure: headers. What are the
- 9:22headers? How do they function? What is
- 9:24the significance of each field? We'll
- 9:26cover that in detail in a video. Then
- 9:28the most interesting part of this whole
- 9:30playlist is that we will Wireshark the
- 9:32UDP traffic. Whatever we have learned
- 9:34about UDP, we will do it practically.
- 9:36That means in Wireshark we will catch
- 9:38UDP traffic from the real world. And in
- 9:40the caught response, we will validate
- 9:42all the UDP headers that we have
- 9:44learned and all the knowledge we have
- 9:45gathered about UDP. Okay? So that is
- 9:47also part of this playlist. Once we are
- 9:49done with UDP, we will move into TCP,
- 9:51one of the most, if not the most,
- 9:53protocols of the Internet. It is kind
- 9:55of a backbone of the Internet. So again
- 9:57, we will do a complete overview of TCP
- 9:59: what are the use cases? What are the
- 10:00features? Why is it reliable? Why is it
- 10:02controlled? Okay? Then we will see what
- 10:04is TCP three-way handshake? TCP
- 10:06connection termination. We'll look in
- 10:08detail at how TCP's sequence numbers
- 10:10and acknowledgment numbers work, how
- 10:12they're calculated, and there'll be a
- 10:14detailed video about that as well. Then
- 10:17, similarly to how we looked at the
- 10:19anatomy of a UDP datagram, we'll again
- 10:20demystify the anatomy of a TCP segment.
- 10:23A TCP segment is a data unit of TCP.
- 10:25What headers does it contain? What is
- 10:26the significance of each header? We'll
- 10:28learn about that in detail. Then, we'll
- 10:30also see what MTU (Maximum Transmission
- 10:33Unit) means, what is PMTU (Maximum
- 10:35Segment Size)? We'll also learn in
- 10:37detail about IP fragmentation. Then,
- 10:39we'll jump into the most important
- 10:41concept of TCP: TCP flow control, where
- 10:43we'll talk about window size (window
- 10:46scale) and see in detail how TCP
- 10:48performs flow control. Then we'll jump
- 10:50into another concept of TCP: congestion
- 10:52control. What exactly is congestion
- 10:54control? What is the difference between
- 10:56flow control and congestion control?
- 10:57Many people are confused about this.
- 10:59Then we'll see two or three algorithms
- 11:01of TCP congestion control: TCP Slow
- 11:03Start and TCP Congestion Avoidance. And
- 11:05obviously, we'll see what ECN is. I
- 11:07didn't include that point here, but
- 11:09we'll definitely see what ECN is:
- 11:11Explicit Congestion Notification.
- 11:13Although it's part of IP, but obviously
- 11:15, TCP also plays a role in ECN. Okay?
- 11:17We'll read about that too. It's not an
- 11:19algorithm, but it is a mechanism to
- 11:21detect congestion. Right? Then we'll do
- 11:23another practical one. This is the
- 11:24interesting part. We'll inspect TCP
- 11:26traffic using Wireshark in detail.
- 11:29Whatever we read above, we'll validate
- 11:32it all by catching the TCP traffic with
- 11:35Wireshark. Okay? Once we're done with
- 11:37the transport layer protocols, that's
- 11:39TCP and UDP. Obviously, there's also
- 11:40QUIC, but QUIC is built on top of UDP.
- 11:42Maybe in the future, I'll add videos on
- 11:44QUIC to this playlist, but I don't want
- 11:47you to get confused. I'm going to cover
- 11:49the core concepts first in this entire
- 11:50playlist. Okay? Once we're done with
- 11:53the transport layer, we'll jump into
- 11:54the application layer, which is where
- 11:56software engineers work. Okay? Then
- 11:58we'll see another critical protocol of
- 12:00the Internet: DNS, the Domain Name
- 12:02System. We'll get a complete overview.
- 12:03How does DNS work? We'll look at it in
- 12:06detail. What flows happen? How are DNS
- 12:08queries fulfilled recursively? We'll
- 12:10also study that in detail. Then we'll
- 12:12see each and every commonly used DNS
- 12:14record. And we won't just look at it
- 12:15theoretically. We'll see some scenarios
- 12:17where they have a use case, like in
- 12:19mailing. How do you detect spam emails?
- 12:22How is email security achieved based on
- 12:24these records? Right? So, we'll cover
- 12:27all these things in the DNS records
- 12:28video. Then again, we'll Wireshark the
- 12:31DNS and we'll actually also see how DNS
- 12:34works over TCP. Yes, DNS over TCP.
- 12:37We'll catch inside Wireshark and we'll
- 12:39see how that works. Okay? Then we'll
- 12:41jump into HTTP, another application
- 12:43layer protocol. We'll see what an HTTP
- 12:45is. What is the structure of an HTTP
- 12:47request and a response? Okay? We'll see
- 12:49different versions of HTTP from HTTPS
- 12:521.1 to HTTPS 3, then we'll see what Web
- 12:54Sockets is, then we'll see what TLS is.
- 12:58And then we'll end this playlist with
- 13:00DSCP and NAT. You might say that DSCP
- 13:03and NAT are kind of networking concepts
- 13:04that should technically be in your
- 13:06fundamentals. But I thought I was
- 13:08making this for software engineers. I
- 13:10wanted to first cover the major
- 13:12concepts of networking before jumping
- 13:14into these core networking concepts.
- 13:17Because DSCP and NAT are generally more
- 13:19closely related to networking than
- 13:21software. Right? So, to understand DSCP
- 13:23and NAT, if you know all these things,
- 13:26it's easy for you to understand DSCP
- 13:28and NAT. That's why I put it at the end
- 13:30. But maybe I'll also add this to
- 13:32Networking Fundamentals, because
- 13:34obviously this is the first video and
- 13:36obviously networking is a huge topic.
- 13:38So, this isn't the end of this playlist
- 13:40. In the future, I'll keep making more
- 13:42videos related to networking and adding
- 13:45them to this playlist. But if you
- 13:47understand all these concepts, you'll
- 13:49have your fundamentals clear. You know
- 13:51networking, and you can debug network
- 13:53problems as a software engineer.
- 13:55Obviously, networking is much more vast
- 13:57. If you're taking the CCNA exam or
- 13:59want to do network engineering, this
- 14:01can obviously be a good starting point.
- 14:03And you'll gain a lot of knowledge from
- 14:05it. And based on that knowledge, you
- 14:06can learn more and prepare for network
- 14:08engineering. Right? So, this is the
- 14:11plan. I'll definitely be posting videos
- 14:13every day about these topics. And this
- 14:15playlist definitely has no end. As I
- 14:17make more videos, I'll keep adding them
- 14:19to this playlist. Okay? So, I'm really
- 14:21excited for this playlist. I hope you
- 14:24gain some knowledge once you watch this
- 14:25playlist. If you have any suggestions
- 14:27or doubts, please leave them in the
- 14:29comments. I'll definitely clear them up
- 14:30. I hope to see you in the next video.
About this transcript
This page contains the full transcript of Introduction to Computer Network Series | Chai aur computer network by Chai aur Code, generated from the public captions YouTube serves with the video. The transcript has 2,718 words across 414 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to translate the transcript into 100+ languages.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, translation to 100+ languages, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.