lua-users home
lua-l archive

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


Yes, I have that working.  I was just hoping for api info on the rest of the function calls, parameters, return values, etc.  If not available, I can infer from the source code and underlying unix function behaivior.
On Friday, March 28, 2014 8:49 PM, djczaski <djczaski@gmail.com> wrote:
On Fri, Mar 28, 2014 at 11:11 AM, Jim Rambo <jrambo316@yahoo.com> wrote:
Hello,

Is there any documentation anywhere for the luasocket unix socket  module?
I have a test script working with lua 5.2 and latest luasocket based on the unix client test script. 
Right now I am sifting through the source code just to see what is available.  Alternatives?

I could never find any documentation, but it's basically:

    local socket.unix = require("socket.unix")

    local s = assert( socket.unix() )
    assert( s:connect("/tmp/foobar") )

Does that not work or you're just looking for something different?