Intern Track Roadmap

Internet fundamentals (TCP/IP)

This course explains how the internet carries data, with each concept tied to Rails development. It starts with the physical network, ISP tiers, packets and protocols. It then covers IPv4 and IPv6 addresses, NAT, TTL and routing, followed by the four layers of the TCP/IP model and encapsulation. TCP handshakes, acknowledgments, flow control and congestion control come next, then UDP and QUIC. The final lessons cover ports, sockets, Unix sockets, connection pooling, common network errors and a bottom-up debugging routine.

What you'll learn

  • ✓How packets, routing and IP addressing move data across networks
  • ✓The four layers of the TCP/IP model and how encapsulation works
  • ✓How TCP provides reliable, ordered delivery with handshakes and acknowledgments
  • ✓When UDP fits better than TCP, and how QUIC builds on UDP
  • ✓How ports and sockets let Puma, PostgreSQL and other services share one machine
  • ✓How to read errors like ECONNREFUSED and debug with ping, nc and curl
Free preview · Lesson 1 7 min read

What is the internet?

The internet is not the web. The web (websites, HTML, browsers) is just one application that runs on top of the internet. The internet is the global network infrastructure that connects billions of devices: and it's the foundation everything else is built on.

Read the full lesson free →

Curriculum

7 lessons
Type to start searching...