[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Newbie questions regarding luasocket, tables
- From: Diego Nehab <diego@...>
- Date: Mon, 7 May 2007 18:27:37 -0400 (EDT)
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.
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.