rustix::net::sockopt

Function set_tcp_congestion

source
pub fn set_tcp_congestion<Fd: AsFd>(fd: Fd, value: &str) -> Result<()>
Expand description

setsockopt(fd, IPPROTO_TCP, TCP_CONGESTION, value)

See the module-level documentation for more.