A simple HTTP server and client built in C using sockets
This project implements a minimal HTTP server that can serve static HTML files to a client over TCP.
It includes both a server (listens for requests and serves files) and a client (which sends an HTTP GET request and prints the response).
- C compiler (e.g., gcc or clang)
- Make
git clone https://github.com/chanr335/http-server.git
cd http-server
makeStart the server
./server.cStart the client to request and receive html
./client <hostname>