levent is a lua concurrency networking library inspired by gevent.
Features include:
- Fast event loop based on libev.
- Cooperative socket library
- Cooperative dns client by pure lua
- Similar api and components with gevent but with much more simpler implementation and better performance.
levent is licensed under MIT license.
Install lua 5.2 or newer.
Clone the repository.
Post feedback and issues on the bug tracker,
need cmake 2.8 or newer.
cmake .
make
lua tests/test_socket.lua
lua example/echo.lua
- Cooperative dns query
- Support more platform include windows, openbsd.