lua-users home
lua-l archive

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


The code in the book has a small error (see the errata at
http://www.inf.puc-rio.br/~roberto/book/errata1.html). You
can get the correct code at
http://www.inf.puc-rio.br/~roberto/book/code/multithread.lua.html
(I hope this one works...).

Thanks,
unfortunately no joy,
I get the following error with the new source code:

lua: attempt to index a string value
stack traceback:
   [C]: in function 'select'
   download3.txt:57: in function 'dispatcher'
   download3:txt:70: in main chunk
   [C]:?

what version of LuaSocket are you using?

Mark