lua-users home
lua-l archive

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


> As I often want to add (or remove) a single file description to (or
> from) recvt/sendt between calls to select, I find it very useful to
> store recvt and sendt in associative table.

On 5/7/07, Diego Nehab <> wrote:

Take a look at the code in tinyirc.lua. It defines a set
object that can be used with select() and allows for the
operations you want.

Sure, you can do it with extra wrapper layers in Lua.  Is there some
reason for not doing it directly in C?