Skip to content

arpitachawla/basic-http-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages