Enable or disable TCP_NODELAY on a socket.
Declared in <openssl/bio.h>
int
BIO_set_tcp_ndelay(
int sock,
int turn_on);
0 on success, or -1 on error.
| Name | Description |
|---|---|
| sock | Socket file descriptor. |
| turn_on | Non-zero to disable Nagle coalescing (TCP_NODELAY on), or 0 to clear it. |