Chapter 3Writing a Simple HTTP Client

Now that we’ve covered the basics of input and output, we can turn to the most essential domain of modern systems programming: networking. Twenty years ago, when most programs still worked with local files or local databases, this wasn’t necessarily the case. But, as the internet continues to become pervasive in our daily lives, software that doesn’t use a network is almost unheard of.

In this chapter, you’ll learn about the fundamental building blocks that allow computers to communicate over the internet and build a working HTTP client from the ground up. After a quick review of the basics of networking, I’ll cover all the essential OS facilities and system calls and then I’ll show you how to put those ...

Get Modern Systems Programming with Scala Native now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.