Eloop is an event-driven foundation library based on the C language, providing:
- TCP Server for asynchronous IO.
- Currently, only supports select on Windows and KQueue on MacOs.
- Timers.
- Asynchronous function callback.
During the implementation, reference was made to libae. Thanks!
- Windows
- Linux
- In progress, to be verified.
- MacOs *
- make
- make clean
- Start the pingpong service, such as ./pingpong.exe on Windows.
- Open a telnet client as follows:
telnet 127.0.0.1 14317
- Enter "ping", press Enter, and you will receive a "pong" response from the server.
- Enter "exit", press Enter, exit game.
- MacOs Kqueue
- Linux epoll
- Log callback function
- Http Server example
- CI automated testing, base on pingpong.c
- Binary tree implement timer operate
- Performance test
Contributions of code and issue reports are welcome!