Building a Web Server


CSE 365 - Fall 2023

Develop the skills needed to build a web server from scratch, starting with a simple program and progressing to handling multiple HTTP GET and POST requests.


Lectures and Reading

Recorded Lectures:

9/13/23 "Building a Web Server Pt. 1":




Slides from this lecture:



9/18/23 "Building a Web Server Pt. 2":




Slides from this lecture:

9/20/23 "Building a Web Server Pt. 4":




Slides from this lecture:

9/25/23 "Building a Web Server Pt. 5":




Slides from this lecture:

The excellent kanak (creator of pwn.college) has recorded lectures and slides from prior CSE 365 that might be useful:

Building a Web Server: Introduction



Building a Web Server: Linux Processes



Building a Web Server: Network System Calls



Building a Web Server: HTTP



Building a Web Server: Multiprocessing




Challenges

Program that exits

Program that creates a socket

Program that binds a socket

Program that listens on a socket

Program that accepts a connection

Program that statically responds to an HTTP request

Program that dynamically responds to an HTTP GET request

Program that dynamically responds to multiple HTTP GET requests

Multi-processed program that dynamically responds to multiple HTTP GET requests

Multi-processed program that dynamically responds to multiple HTTP POST requests

Multi-processed program that dynamically responds to multiple HTTP GET and POST requests


Module Ranking

This scoreboard reflects solves for challenges in this module after the module launched in this dojo.

Rank Hacker Badges Score