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.


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



Program that exits

Connect with SSH

Link your SSH key, then connect with: ssh hacker@pwn.college

Program that creates a socket

Connect with SSH

Link your SSH key, then connect with: ssh hacker@pwn.college

Program that binds a socket

Connect with SSH

Link your SSH key, then connect with: ssh hacker@pwn.college

Program that listens on a socket

Connect with SSH

Link your SSH key, then connect with: ssh hacker@pwn.college

Program that accepts a connection

Connect with SSH

Link your SSH key, then connect with: ssh hacker@pwn.college

Program that statically responds to an HTTP request

Connect with SSH

Link your SSH key, then connect with: ssh hacker@pwn.college

Program that dynamically responds to an HTTP GET request

Connect with SSH

Link your SSH key, then connect with: ssh hacker@pwn.college

Program that dynamically responds to multiple HTTP GET requests

Connect with SSH

Link your SSH key, then connect with: ssh hacker@pwn.college

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

Connect with SSH

Link your SSH key, then connect with: ssh hacker@pwn.college

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

Connect with SSH

Link your SSH key, then connect with: ssh hacker@pwn.college

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

Connect with SSH

Link your SSH key, then connect with: ssh hacker@pwn.college

30-Day Scoreboard:

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

Rank Hacker Badges Score