GitHub - yongkangchen/toynet: A simple event-driven I/O and coroutine based for Lua · GitHub
Skip to content
yongkangchenPublic

About

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

Resources

Stars

13 stars

Watchers

1 watching

Forks

Latest commit

 

History

24 Commits

Folders and files

Repository files navigation

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

About

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

Resources

Stars

13 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages