zhwzhang / levent

lua concurrency library based on libev, similar with gevent

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

levent

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.

get levent

Install lua 5.2 or newer.

Clone the repository.

Read test case and examples.

Post feedback and issues on the bug tracker,

build

need cmake 2.8 or newer.

cmake .
make

build in windows, ref to blog

running tests

lua tests/test_socket.lua
lua example/echo.lua

About

lua concurrency library based on libev, similar with gevent

License:MIT License