Open System Services System Calls Reference Manual (G06.29+, H06.08+, J06.03+)
System Functions (f - i) getsockopt(2)
[ENOTSOCK] The socket parameter does not refer to a socket.
[EOPNOTSUPP]
The specified operation is not supported by the protocol used by the socket.
RELATED INFORMATION
Functions: bind(2), close(2), endprotoent(3), getprotobynumber(3), getprotoent(3), setpro-
toent(3), setsockopt(2), socket(2), socketpair(2).
STANDARDS CONFORMANCE
The HP implementation does not:
• Implement the SO_LINGER option for AF_UNIX sockets.
• Return the errno value [ENOSR].
The following are HP extensions to the XPG4 specification:
• The errno value [ECONNRESET] can be returned when the transport provider process
is unavailable.
• The SO_REUSEPORT option is supported.
527186-023 Hewlett-Packard Company 3−93