TCP_NODELAY

public func TCP_NODELAY() -> Int32

TCP_NODELAY — disable Nagle's algorithm on a TCP socket.

Pass as the optname argument of setsockopt() with the IPPROTO_TCP level (not SOL_SOCKET) so small writes are sent immediately instead of being held to coalesce with a later write. The value is 1 on both darwin and linux.

Defined in lang/std/net/libc.ks