https://github.com/sla-ppy/hypo
[U] A HTTP/1.0 server, written from scratch in C99 for POSIX
https://github.com/sla-ppy/hypo
c99 http1-0 networks rfc sockets tcp-ip wireshark
Last synced: 11 months ago
JSON representation
[U] A HTTP/1.0 server, written from scratch in C99 for POSIX
- Host: GitHub
- URL: https://github.com/sla-ppy/hypo
- Owner: sla-ppy
- Created: 2025-03-05T22:50:35.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-04-28T14:19:37.000Z (about 1 year ago)
- Last Synced: 2025-05-04T17:11:33.301Z (about 1 year ago)
- Topics: c99, http1-0, networks, rfc, sockets, tcp-ip, wireshark
- Language: C
- Homepage:
- Size: 1.39 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Usage:
```
1. Compile with: clang src/server.c src/request.c src/util.c -o server -Wall -Wextra -pedantic -std=gnu99 -g -O0
```
```
2. Run with: ./server
Where port is: 1024-65535
Refer to terminal if met with problems
```
Using -std=gnu99 proved to be necessary, as -std=c99 has issues with POSIX\
-g => generates debug info\
-O0 => genereate unoptimized code (optimization flag)