Apache2
Collaboration diagram for Socket option definitions:

Macros

#define APR_SO_LINGER   1
 
#define APR_SO_KEEPALIVE   2
 
#define APR_SO_DEBUG   4
 
#define APR_SO_NONBLOCK   8
 
#define APR_SO_REUSEADDR   16
 
#define APR_SO_SNDBUF   64
 
#define APR_SO_RCVBUF   128
 
#define APR_SO_DISCONNECTED   256
 
#define APR_TCP_NODELAY   512
 
#define APR_TCP_NOPUSH   1024
 
#define APR_RESET_NODELAY   2048
 
#define APR_INCOMPLETE_READ   4096
 
#define APR_INCOMPLETE_WRITE   8192
 
#define APR_IPV6_V6ONLY   16384
 
#define APR_TCP_DEFER_ACCEPT   32768
 
#define APR_SO_BROADCAST   65536
 
#define APR_SO_FREEBIND   131072
 

Detailed Description

Macro Definition Documentation

◆ APR_INCOMPLETE_READ

#define APR_INCOMPLETE_READ   4096

Set on non-blocking sockets (timeout != 0) on which the previous read() did not fill a buffer completely. the next apr_socket_recv() will first call select()/poll() rather than going straight into read(). (Can also be set by an application to force a select()/poll() call before the next read, in cases where the app expects that an immediate read would fail.)

◆ APR_INCOMPLETE_WRITE

#define APR_INCOMPLETE_WRITE   8192

like APR_INCOMPLETE_READ, but for write

See also
APR_INCOMPLETE_READ

◆ APR_IPV6_V6ONLY

#define APR_IPV6_V6ONLY   16384

Don't accept IPv4 connections on an IPv6 listening socket.

◆ APR_RESET_NODELAY

#define APR_RESET_NODELAY   2048

This flag is ONLY set internally when we set APR_TCP_NOPUSH with APR_TCP_NODELAY set to tell us that APR_TCP_NODELAY should be turned on again when NOPUSH is turned off

◆ APR_SO_BROADCAST

#define APR_SO_BROADCAST   65536

Allow broadcast

◆ APR_SO_DEBUG

#define APR_SO_DEBUG   4

Debug

◆ APR_SO_DISCONNECTED

#define APR_SO_DISCONNECTED   256

Disconnected

◆ APR_SO_FREEBIND

#define APR_SO_FREEBIND   131072

Allow binding to addresses not owned by any interface

◆ APR_SO_KEEPALIVE

#define APR_SO_KEEPALIVE   2

Keepalive

◆ APR_SO_LINGER

#define APR_SO_LINGER   1

Linger

◆ APR_SO_NONBLOCK

#define APR_SO_NONBLOCK   8

Non-blocking IO

◆ APR_SO_RCVBUF

#define APR_SO_RCVBUF   128

Receive buffer

◆ APR_SO_REUSEADDR

#define APR_SO_REUSEADDR   16

Reuse addresses

◆ APR_SO_SNDBUF

#define APR_SO_SNDBUF   64

Send buffer

◆ APR_TCP_DEFER_ACCEPT

#define APR_TCP_DEFER_ACCEPT   32768

Delay accepting of new connections until data is available.

See also
apr_socket_accept_filter

◆ APR_TCP_NODELAY

#define APR_TCP_NODELAY   512

For SCTP sockets, this is mapped to STCP_NODELAY internally.

◆ APR_TCP_NOPUSH

#define APR_TCP_NOPUSH   1024

No push