Method lrs::socket::Socket::set_priority

Sets the priority of packets sent over this socket.

Syntax

impl Socket {
    fn set_priority(&self, val: u32) -> Result<(), Errno>
}

Arguments

NameDescription
val

The priority of packets sent over this socket.

Remarks

The argument must be representable in a c_int.

See also