Method lrs::socket::Socket::ipv4_set_options

Sets the Ipv4 options sent with each packet sent over this socket.

Syntax

impl Socket {
    fn ipv4_set_options(&self, options: &[u8]) -> Result<(), Errno>
}

Arguments

NameDescription
options

Remarks

The buffer should be at most 40 bytes long.

See also