[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Newbie questions regarding luasocket, tables
- From: mpb <mpb.spam@...>
- Date: Mon, 7 May 2007 17:48:29 -0700
> 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 <email@example.com> 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?