How rayaneyajjou/c-http-server works
This is a small C/WinSock server skeleton. Its shown runtime starts Winsock, resolves server addresses, creates and binds a listening socket, then frees the address information and exits. Although the README describes static files, an HTTP API, parsing, routing, and concurrent handling, the sampled HTTP and router sources are empty, and no accept loop or request workflow is shown. The graph therefore preserves those source modules without implying they are connected or implemented; evidence is limited to the provided excerpts and README.
Main entry points: main.c Program entry · server.c Server lifecycle
Components 4
Runtime entry
- Program entry
src/main.c
Socket setup
- Server lifecycle
src/server.c
HTTP modules
- HTTP module
src/http.c - Router module
src/router.c
Connections 1
- Program entry → Server lifecycle: calls lifecycle
src/main.c