Method lrs::socket::Socket::accepts_connections

Retrieves whether this socket has been set up to accept connections.

Syntax

impl Socket {
    fn accepts_connections(&self) -> Result<bool, Errno>
}

Return value

Returns whether this socket has been set up to accept connections.

See also