Method lrs::socket::Socket::set_peek_offset

Sets the peek offset of this socket.

Syntax

impl Socket {
    fn set_peek_offset(&self, val: Option<usize>) -> Result<(), Errno>
}

Arguments

NameDescription
val

The peek offset of this socket.

Remarks

This is only implemented for Unix sockets. The argument must be representable in a c_int.

See also