Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: July 2017
 
 

tcp.h(3HEAD)

Name

tcp.h, tcp - definitions for the Internet Transmission Control Protocol (TCP)

Synopsis

#include <netinet/tcp.h>

Description

The <netinet/tcp.h> header defines the following macro for use as a socket option at the IPPROTO_TCP level:

TCP_NODELAY

Avoid coalescing of small segments.

The macro is defined in the header. The implementation need not allow the value of the option to be set with setsockopt() or retrieved with getsockopt().

Attributes

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Interface Stability
Committed
Standard

See Also

getsockopt(3XNET), socket.h(3HEAD), attributes(5), standards(5), tcp(7P)