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

getsockname(2) OSS System Calls Reference Manual
[ECONNRESET]
One of the following conditions occurred:
The transport-provider process for this socket is no longer available.
The TCP/IP subsystem for this socket is no longer available.
The connection was forcibly closed by the peer socket.
The socket can only be closed.
[EFAULT] A user-supplied memory buffer cannot be accessed or written.
[EINVAL] The socket has been shut down.
[ENOBUFS] There was not enough buffer space available to complete the call. A retry at a
later time might succeed.
[ENOMEM] Required memory resources were not available. A retry at a later time might
succeed.
[ENOTSOCK] The socket parameter does not refer to a socket.
[EOPNOTSUPP]
The specied operation is not supported by the protocol used by the socket.
RELATED INFORMATION
Functions: accept(2), bind(2), getpeername(2), socket(2).
STANDARDS CONFORMANCE
The HP implementation does not return the errno value [ENOSR].
The following are HP extensions to the XPG4 specication:
The errno value [ECONNRESET] can be returned when the transport-provider process
is unavailable.
350 Hewlett-Packard Company 527186-003