20FINAL PROJECT: BUILDING A MULTITHREADED WEB SERVER
It’s been a long journey, but we’ve reached the end of the book. In this chapter, we’ll build one more project together to demonstrate some of the concepts we covered in the final chapters, as well as recap some earlier lessons.
For our final project, we’ll make a web server that says “Hello!” and looks like Figure 20-1 in a web browser.
Figure 20-1: Our final shared project
Here is the plan to build the web server:
- Learn a bit about TCP and HTTP.
- Listen for TCP connections on a socket.
- Parse ...
Get The Rust Programming Language (Covers Rust 2018) 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.