Understanding the Internet from First Principles with cURL

About this lecture

A first look at how the internet actually works, built from the bottom up and made visible with one command line tool. We begin with the only two things involved in any web request, a client and a server, and then follow the four steps that happen every single time: a name is turned into an IP address by the domain name system, a TCP connection is opened by a three way handshake and then encrypted for https, an HTTP request is written out as a method, a path, headers and a body, and a reply comes back carrying a status code. Every one of those layers is then shown on screen with curl, whose verbose output labels each line by who said it, so the invisible parts of the network turn into plain text you can read for yourself. No programming or networking background is assumed.

Transcript

Loading discussion…