Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 396 Bytes

README.md

File metadata and controls

10 lines (8 loc) · 396 Bytes

Simple HTTP Server in C

This project is a basic HTTP server written in C using socket programming.
It listens on port 8080, accepts a single client connection, parses a simple GET request, and serves the requested file using sendfile().
⚠️ This is only for learning purposes — not intended for production use.

Build

Compile with GCC:

gcc main.c -o server