01-02-2015, 06:58 AM
It is possible to use LuaSocket in non-blocking mode, but programming with that is a nightmare. Every read may fail, may return any number of bytes, etc. It's much easier to use event-based IO.
Also, this could unify the API and the objects used inside the server itself. We could use high-performance epoll-based implementation etc.
Also, this could unify the API and the objects used inside the server itself. We could use high-performance epoll-based implementation etc.