Method lrs::socket::Socket::unix_seqpacket

Creates a Unix/SeqPacket socket.

Syntax

impl Socket {
    fn unix_seqpacket(flags: SockFlags) -> Result<Socket, Errno>
}

Arguments

NameDescription
flags

Remarks

This is equivalent to

Socket::new(domain::Unix, kind::SeqPacket, 0, flags)

See also