class UNIXSocket < IO

A connection to a UNIX domain socket: Socket.unix(path) makes one.

<std:socket>:86

Class methods

def self.new(path: String) -> UNIXSocket

A connection to the socket at path. Raises SystemCallError when nothing listens there.

<std:socket>:89

def self.open[R](path: String, &: (UNIXSocket) -> R) -> R

The same, with the connection given to the block and closed after it; the block's result is returned.

<std:socket>:92