How arhmm7/cdis works
This is a small C TCP server skeleton. The principal workflow is startup initializing a listening socket, then accepting client connections and dispatching each to a thread that receives and logs bytes. The parser implementation is empty and is not called by the server; the datastore provides initialization and hashing code but is not wired into the request path. The README is empty, so the map reflects only the shown source; it does not imply command processing or responses.
Main entry points: rserver.c Socket server · main.c Program entry
Components 6
Server runtime
- Program entry
src/main.c - Socket server
src/rserver.c
Request handling
- Client thread
src/rserver.c - Request parser
src/rparser.c
Data storage
- Hash table
src/rdatastore.c
Other components
- TCP client
Connections 4
- Program entry → Socket server: initializes socket
src/main.c - Program entry → Socket server: starts loop
src/main.c - Socket server → Client thread: spawns thread
src/rserver.c - TCP client → Client thread: sends bytes
src/rserver.c