[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua Socket
- From: gary ng <garyng2000@...>
- Date: Sun, 22 Jul 2007 02:10:53 -0700 (PDT)
--- PA <firstname.lastname@example.org> wrote:
> if such socket.io package existed, one could swap it
> seamlessly with
> the standard file based io library and pretty much
> turn any regular Lua
> code into a network ready application...
> Just a though...
yes, that is basically what I want too such that I can
plug it onto my xyssl binding. Or in your case, the
stdin/stdout from tcp server/inetd/xinetd.
for unix pipe, I have written a small module(lua plus
a C module for the select()/fcntl() function) to
simulate the luasocket behaviour.
____________________________________________________________________________________Ready for the edge of your seat?
Check out tonight's top picks on Yahoo! TV.