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

https://github.com/hzeller/threadless-server

select() event API experiment with c++11 closures.
https://github.com/hzeller/threadless-server

Last synced: 8 months ago
JSON representation

select() event API experiment with c++11 closures.

Awesome Lists containing this project

README

          

Experimenting with C++11 closures and Unix select() to make an easy-to-use and
readable threadless server, multiplexing connections, all handled in the main
loop without extra threads needed.

Nothing interesting to see here, just experiments. Real world would use libev
or libevent or something.

threadless-server : a simple echo server, listing on port 3000
fortune-teller : an even simpler fortune teller server, listening on 3001