Network support for the Lua language, now with Lua Lanes support!
$ luarocks install luasocket-lanes
This is a fork of LuaSocket library (v3.0-rc2).
It provides the ability to use LuaSocket with the Lua Lanes library, allowing
the server listener to be one thread and the client handlers to be on seperate
See the main readme to get started: https://github.com/djfdyuruiry/luasocket-lanes/blob/fd_support/README.md
While this library was made for working with Lua Lanes, it does not require that library to be installed and used. Because file descriptors are simple numbers, you could use this to deal with client requests anywhere you wish, using another lua threading library, other language runtimes etc.
LuaSocket is a Lua extension library that is composed by two parts: a C core
that provides support for the TCP and UDP transport layers, and a set of Lua
modules that add support for functionality commonly needed by applications
that deal with the Internet.