Function rustix::net::sockopt::set_tcp_nodelay
source · pub fn set_tcp_nodelay<Fd: AsFd>(fd: Fd, nodelay: bool) -> Result<()>
Available on crate feature
net
only.Expand description
setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, nodelay)
References
- POSIX
setsockopt
- POSIX
netinet/tcp.h
- Linux
setsockopt
- Linux
tcp
- Winsock2
setsockopt
- Winsock2
IPPROTO_TCP
options - Apple
setsockopt
- Apple
tcp
- FreeBSD
setsockopt
- FreeBSD
tcp
- NetBSD
setsockopt
- NetBSD
tcp
- OpenBSD
setsockopt
- OpenBSD
tcp
- DragonFly BSD
setsockopt
- DragonFly BSD
tcp
- illumos
setsockopt
- illumos
tcp