unixsocket.addr => [address_family, unix_path]
Instance Public methods
Returns the local address as an array which contains address_family and unix_path.
Example
1 2 | serv = UNIXServer. new ( "/tmp/sock" ) p serv.addr #=> ["AF_UNIX", "/tmp/sock"] |
Please login to continue.