lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

I believe that nmap does something like that for its Lua workers; you should check their sources.

Beware though that despite Node.js' hype, callback-driven  APIs quickly turn user code into an unmaintainable spaghetti plate mess.

The antidote to this is coroutine, offering callback performances with normal code readability, and Lua is one of the few languages which properrly supports them.

On Fri, Sep 30, 2011 at 11:55 AM, Xavier Wang <> wrote:
are there callback based socket interface in Lua?