Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 835 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 835 Bytes

GitHub repo size GitHub contributors GitHub stars GitHub forks

Threaded socket server

Compact server to accept new socket connections and run them in a separate thread.

  • Dynamically-sized thread count -> adjust while the app is running
  • Add pending connections to a queue while waiting for a service thread
  • Timeout sockets that can't be serviced within a specific time

To build (Linux)

Run this command on command line: gcc -o server server.c queue.c key_list.c