Method lrs::socket::Socket::set_broadcast

Enables or disables broadcasting for this socket.

Syntax

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

Arguments

NameDescription
val

Whether whether broadcasting is enabled.

See also