lua-users home
lua-l archive

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


On Fri, Sep 01, 2006 at 02:29:18PM -0700, gary ng wrote:
> I mean file(actually stdin and stdout as that is the
> input/output to connect to things like openssh or
> pppd). At the moment I can only think of opening a

stdin and stdout aren't files in that case, they are probably pipes. You
can call select() on pipes, so non-blocking is possible. select() on
files doesn't work, so non-blocking i/o on files isn't possible.

Anyhow, check out LuaSocket.

Sam