class UNIXServer < IO

A listening UNIX domain socket: Socket.unix_server(path) makes one.

<std:socket>:96

Class methods

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

A server listening at path, which must not exist; the file is removed when the server is closed.

<std:socket>:99

Methods

def accept -> UNIXSocket

The next connection, waiting for one (only the calling task waits). Raises IOError once the server is closed.

<std:socket>:102