Open System Services System Calls Reference Manual (G06.29+, H06.08+, J06.03+)

getsockopt(2) OSS System Calls Reference Manual
SO_BROADCAST
Reports whether transmission of broadcast messages is sup-
ported. This option returns an int value in the buffer pointed to
by the option_value parameter.
SO_DEBUG Reports whether debugging information is being recorded. This
option returns an int value in the buffer pointed to by the
option_value parameter.
SO_DONTROUTE
Reports whether outgoing messages should bypass the standard
routing facilities and be directed to the appropriate network
interface, according to the destination address. (This option is
for debugging purposes only and is not recommended.) This
option returns an int value in the buffer pointed to by the
option_value parameter.
SO_ERROR Reports information about error status and clears it. This option
returns an int value in the buffer pointed to by the option_value
parameter.
SO_KEEPALIVE
Reports whether connections are kept active with periodic
transmission of messages. This option returns an int value in the
buffer pointed to by the option_value parameter.
SO_LINGER Reports whether the system attempts to deliver data after the
close() function is called if unsent data is queued.
The SO_LINGER option is always enabled for AF_INET or
AF_INET6 sockets and is not implemented for AF_UNIX sock-
ets.
This option returns a linger structure value in the buffer pointed
to by the option_value parameter.
SO_OOBINLINE
Reports whether the socket leaves received out-of-band data
(data marked urgent) queued with other data (in line) for proto-
cols that support out-of-band data. This option returns an int
value in the buffer pointed to by the option_value parameter.
SO_RCVBUF Reports the receive buffer size in bytes. This option returns an
int value in the buffer pointed to by the option_value parameter.
SO_REUSEADDR
Reports whether the rules used in validating addresses supplied
by a bind( ) function call should allow reuse of local addresses.
This option returns an int value in the buffer pointed to by the
option_value parameter.
SO_REUSEPORT
Reports whether the rules used in validating ports supplied by a
bind( ) function call should allow reuse of local ports. This
option returns an int value in the buffer pointed to by the
option_value parameter.
This option is valid only for UDP ports.
390 Hewlett-Packard Company 527186-023