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

https://github.com/holmofy/echo-server

learn socket api
https://github.com/holmofy/echo-server

epoll io-multiplex kqueue libevent poll select socket

Last synced: 7 months ago
JSON representation

learn socket api

Awesome Lists containing this project

README

          

# echo-server

Learn socket IO

* [simple echo server](https://github.com/holmofy/echo-server/blob/master/tcp-echo-server.c)
* [multi-thread echo server](https://github.com/holmofy/echo-server/blob/master/tcp-echo-server-multithread.c)
* [select api echo server](https://github.com/holmofy/echo-server/blob/master/tcp-non-blocking-select-echo-server.c)
* [poll api echo server](https://github.com/holmofy/echo-server/blob/master/tcp-non-blocking-poll-echo-server.c)
* [epoll api echo server](https://github.com/holmofy/echo-server/blob/master/tcp-non-blocking-epoll-echo-server.c)
* [kqueue api echo server](https://github.com/holmofy/echo-server/blob/master/tcp-non-blocking-kqueue-echo-server.c)
* [libevent echo server](https://github.com/holmofy/echo-server/blob/master/tcp-non-blocking-libevent-echo-server.c)
* [libev echo server](https://github.com/holmofy/echo-server/blob/master/tcp-non-blocking-libev-echo-server.c)
* [libuv echo server](https://github.com/holmofy/echo-server/blob/master/tcp-non-blocking-libuv-echo-server.c)

> please refer to [the post](https://blog.hufeifei.cn/2021/06/Java/nio/) on my blog

rust implements:
* [mio](https://github.com/tokio-rs/mio)
* [polling](https://github.com/smol-rs/polling)