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

https://github.com/yongkangchen/toynet

A simple event-driven I/O and coroutine based for Lua
https://github.com/yongkangchen/toynet

Last synced: about 1 year ago
JSON representation

A simple event-driven I/O and coroutine based for Lua

Awesome Lists containing this project

README

          

# toynet
A simple event-driven I/O for Lua, coroutine based.

Support epoll and kevent

# build
### build with scons
* set lua/luajit header path in make.sh
* install scons
* run command: sh make.sh

### build with make
* put luajit source code directory in ./luajit/
* run command: make

# run
* with luajit command: luajit example/echo_svr.lua
* with lua command: lua example/echo_svr.lua