Sockets in C
About This Project
Three TCP servers built in C, each one layer above the last: a daytime server, a multi-client chat room using select(), and a static HTTP web server that serves files from www/ with request parsing and a traversal guard.
Source: github.com/zevlo/sockets
Screenshot: the web server’s self-referential index page
Technologies Used
- C
- BSD sockets API
- select() I/O multiplexing
- pthreads
- HTTP/1.1