[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Non-blocking file IO without thread possible ?
- From: gary ng <garyng2000@...>
- Date: Fri, 1 Sep 2006 14:29:18 -0700 (PDT)
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
localhost:port then use netcat to bridge it. If
luasocket support unix domain socket, that would be a
bit easier(no need for netcat).
--- Sam Roberts <email@example.com> wrote:
> Do you mean file i/o or socket i/o?
> Non-blocking file i/o isn't possible on many (most?)
> OS, without using
> asynchronous i/o calls, availability of which is
> very OS dependent.
> Non-blocking socket i/o is supported by LuaSocket,
> isn't it?
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around