https://github.com/magicoder10/harryhttpd
Simple HTTP server in C
https://github.com/magicoder10/harryhttpd
Last synced: 4 months ago
JSON representation
Simple HTTP server in C
- Host: GitHub
- URL: https://github.com/magicoder10/harryhttpd
- Owner: magicoder10
- Created: 2015-11-18T03:35:15.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-09-17T18:45:32.000Z (almost 5 years ago)
- Last Synced: 2024-12-28T04:17:25.967Z (6 months ago)
- Language: C
- Homepage:
- Size: 33.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# HarryHttpd
Simple HTTP server in C## Components
1. Server, Simple HTTP Server
1. Client, Simple HTTP Client## Prerequisite
- Make
## Getting Started
1. Compile server and client:
```bash
> make
```
1. Start the server:
```bash
> ./server port_number
```
eg.
```
> ./server 80
```1. Start the client:
```bash
> ./client url port_number
```eg.
```bash
> ./client localhost/TMDG.html 80
```### Note
You can also visit `http://localhost/TMDG.html` in your web browser to verify the server is working as expected.## Author
- **Yang Liu** - *Initial work* - [byliuyang](https://github.com/byliuyang)
## License
This repo is maintained under MIT license.