Skip to content

hamzaavvan/C-Webserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

C-Webserver

A multithreaded webserver coded in C

Compile program

$ cd code
$ gcc webserver.c -o server -lpthread

Run webserver

$ ./server [port] [dir=.]
$ ./server 8080

Note: dir argument is optional