lev.connect_unix

lev

connect_unix(path, opts) -> socket, err

Connect to a Unix domain (AF_UNIX) stream socket

Creates an AF_UNIX stream socket and connects to path. A leading @ selects the Linux abstract namespace (no filesystem entry). Returns a wrapped socket exposing the same methods as a TCP socket.

Options: