Skip to content

alec-03/http

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Http webserver

A simple http server written in C/C++. Written entirely with system calls/standard library features. A filepath points to where all the valid files for the webserver are in the system, and a simple string parser determines what file to send. Feel free to use any of this code with some sort of credit to me.

Compile and Run

You can compile with

make all

provided you have g++ installed. This will yield a server executable. To run, create a folder that holds at least an index.html file and start it as the server directory with

./server /path/to/server/directory

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published