On Nov 16, 2009, at 4:38 PM, Alexander Gladysh wrote: > I mean that if I didn't used Copas, I'd tried to use socket select > timeout to sleep until I have to either print something to stdout or > read incoming data from a socket. I'm not sure how to do this with > Copas though...
Not sure I understand what you are trying to do, but... would something like lalarm work for you? http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#lalarm lalarm allows to register a function to be executed every now and then. _______________________________________________ Kepler-Project mailing list [email protected] http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project http://www.keplerproject.org/
