The manual
ginnOS
The reference: libc, the libraries and the kernel
Loading...
Searching...
No Matches
tcp.h File Reference

TCP socket options (setsockopt at IPPROTO_TCP). More...

Go to the source code of this file.

Macros

#define TCP_NODELAY   1
#define TCP_MAXSEG   2
#define TCP_KEEPIDLE   4
#define TCP_KEEPINTVL   5
#define TCP_KEEPCNT   6

Detailed Description

TCP socket options (setsockopt at IPPROTO_TCP).

small writes are always sent at once, so TCP_NODELAY is always on. the keepalive options are accepted and not used.

Macro Definition Documentation

◆ TCP_NODELAY

#define TCP_NODELAY   1

◆ TCP_MAXSEG

#define TCP_MAXSEG   2

◆ TCP_KEEPIDLE

#define TCP_KEEPIDLE   4

◆ TCP_KEEPINTVL

#define TCP_KEEPINTVL   5

◆ TCP_KEEPCNT

#define TCP_KEEPCNT   6