Skip to content

The server can serve any file that is in assets directory of the same directory. Moreover it can serve sytle.css, scrypt.js and index.html files from the same directory

License

Notifications You must be signed in to change notification settings

satyamvatsal/simple-http-server-in-c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple HTTP Server in C

Description

The server can serve any file that is in assets directory of the same directory. Moreover it can serve sytle.css, scrypt.js and index.html files from the same directory

Installation

Clone the directory by git clone https://github.com/satyamvatsal/simple-http-server-in-c.git
cd simple-http-server-in-c
make
./webserver PORT

Upcoming Features

To list all the files in the given directory and can download them if user requests.

Usage

Run the executable by providing only one argument as port number to initialise the server.

About

The server can serve any file that is in assets directory of the same directory. Moreover it can serve sytle.css, scrypt.js and index.html files from the same directory

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published