rustix::net::sockopt

Function set_socket_broadcast

source
pub fn set_socket_broadcast<Fd: AsFd>(fd: Fd, value: bool) -> Result<()>
Expand description

setsockopt(fd, SOL_SOCKET, SO_BROADCAST, value)

See the module-level documentation for more.