Open System Services System Calls Reference Manual (G06.25+, H06.03+)

getsockopt(2) OSS System Calls Reference Manual
SO_SNDBUF Reports the send buffer size in bytes. This option returns an int
value in the buffer pointed to by the option_value parameter.
SO_TYPE Reports the socket type in a form that can be tested against a
symbolic value such as SOCK_DGRAM or SOCK_STREAM.
This option returns an int value in the buffer pointed to by the
option_value parameter.
The getsockopt(\|) function retrieves information about the following
IPPROTO_TCP (TCP protocol-level) options:
TCP_MAXRXMT
Reports the maximum retransmission timeout value in multiples
of 500 milliseconds. This option returns an
int value in the
buffer pointed to by the option_value parameter.
TCP_MINRXMT
Reports the minimum retransmission timeout value in multiples
of 500 milliseconds. This option returns an int value in the
buffer pointed to by the option_value parameter.
TCP_NODELAY
Reports whether data packets are buffered before transmission.
This option returns an int value in the buffer pointed to by the
option_value parameter.
TCP_RXMTCNT
Reports the maximum retransmission count. This option returns
an int value in the buffer pointed to by the option_value parame-
ter.
TCP_SACKENA
Reports whether TCP selective acknowledgments are enabled.
This option returns an int value in the buffer pointed to by the
option_value parameter.
TCP_TOTRXMTVAL
Reports the total maximum retransmission duration in multiples
of 500 milliseconds. This option returns an int value in the
buffer pointed to by the option_value parameter.
Options at other protocol levels vary in format and name.
option_value Points to the buffer to receive the option value. The data type of the value
returned for each option is indicated in the description of option_name.
If the length of the value returned for an option is greater than the length of the
supplied option_value buffer, the value is truncated when stored.
option_len Points to a size_t data item, which, on input, species the length of the supplied
buffer pointed to by the option_value parameter, and, on output, species the
length of the value returned in the supplied buffer.
354 Hewlett-Packard Company 527186-003