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

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

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)