Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/whjwnavy/http-server-demo
- Owner: WHJWNAVY
- Created: 2024-07-10T03:11:19.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-07-11T02:43:32.000Z (7 months ago)
- Last Synced: 2024-07-11T04:12:13.169Z (7 months ago)
- Language: C
- Size: 596 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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)