It is Sunday morning in a government office in Khulna. A new officer opens her laptop, joins the office Wi-Fi, types www.bb.org.bd and presses Enter. Less than a second later the page is on her screen, and nothing about it felt like work. Yet four conversations took place without her typing a word. The laptop had no address, so it asked the router for one. It knew the site only by name, so it asked a name server what number that name stands for. It opened a connection to that number and wrapped it in encryption. Only then did it ask, in a fixed format, for the page. At the next desk a colleague is downloading a circular from the ministry's file server, which is yet another kind of conversation.
Each conversation has its own rules, its own port number and its own favourite questions in bank and BCS papers. This chapter takes them one at a time: HTTP, the language of the web; HTTPS, the same language with a lock on it; DNS, the directory that turns names into numbers; DHCP, the receptionist who hands out addresses; and FTP, the old but still asked-about way to move files.
By the end you will be able to read a raw HTTP request and reply, tell a 301 from a 302 and a 401 from a 403, and explain how a cookie gives a forgetful protocol a memory. You will describe an HTTPS handshake and why it uses two kinds of keys, trace a DNS lookup from the root to the answer, read a zone's records, and explain TTL. You will walk through the four DHCP messages and calculate when a lease renews. You will explain why FTP needs two connections and why active mode fails behind a home router. And when a user says "the internet is down", you will know which command to type first.