Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/whjwnavy/http-server-demo

This is a very simple HTTP server
https://github.com/whjwnavy/http-server-demo

Last synced: 11 days ago
JSON representation

This is a very simple HTTP server

Awesome Lists containing this project

README

        

# HTTP SERVER DEMO

> This is a very simple HTTP server

AUTHOR: Abhijeet Rastogi (http://www.google.com/profiles/abhijeet.1989)

This is a very simple HTTP server. Default port is 10000 and ROOT for the server is your current working directory..

## arguments
You can provide command line arguments like:- $./a.aout -p [port] -r [path]

## example
```
$./a.out -p 50000 -r /home/
to start a server at port 50000 with root directory as "/home"

$./a.out -r /home/shadyabhi
starts the server at port 10000 with ROOT as /home/shadyabhi
```
![index.png](index.png)