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
- Host: GitHub
- URL: https://github.com/holmofy/echo-server
- Owner: holmofy
- Created: 2019-03-24T04:34:54.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-06-14T14:43:01.000Z (over 1 year ago)
- Last Synced: 2025-03-16T12:23:56.417Z (7 months ago)
- Topics: epoll, io-multiplex, kqueue, libevent, poll, select, socket
- Language: C
- Homepage:
- Size: 43 KB
- Stars: 13
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)