|
Hi,
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. Regards, Diego.