devela::_dep::rustix::net::sockopt

Function set_tcp_nodelay

pub fn set_tcp_nodelay<Fd>(fd: Fd, value: bool) -> Result<(), Errno> 
where Fd: AsFd,
Available on crate feature dep_rustix only.
Expand description

setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, value)

See the module-level documentation for more.