The manual
ginnOS
The reference: libc, the libraries and the kernel
Loading...
Searching...
No Matches
tcp.h
Go to the documentation of this file.
1#pragma once
2
3/**
4 * @file netinet/tcp.h
5 * @brief TCP socket options (setsockopt at IPPROTO_TCP).
6 *
7 * small writes are always sent at once, so TCP_NODELAY is always on. the
8 * keepalive options are accepted and not used.
9 */
10
11#define TCP_NODELAY 1
12#define TCP_MAXSEG 2
13#define TCP_KEEPIDLE 4
14#define TCP_KEEPINTVL 5
15#define TCP_KEEPCNT 6