lua-users home
lua-l archive

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


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?