rustix::net::sockopt

Function set_tcp_nodelay

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

setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, value)

See the module-level documentation for more.