OSI/AS and OSI/TS Supplement (Includes RFC-1006 Support)

Socket Errors Returned by TCP/IP to OSI/TS
107751 Tandem Computers Incorporated 6–3
4120 ECONNRESET
Cause. The peer process reset the connection before the operation completed.
Effect. The connect call failed.
Recovery. Retry the call again later.
4123 ENOTCONN
Cause. The specified socket was not connected (the connect_nw call has not been
called yet).
Effect. The call failed.
Recovery. Ensure that the socket is connected, then retry the operation.
4124 ESHUTDOWN
Cause. The operation could not be performed because the specified socket was already
shut down.
Effect. The call failed.
Recovery. Retry the call again later.
4126 ETIMEDOUT
Cause. The connection timed out before the operation completed.
Effect. The call failed.
Recovery. Verify that the remote TCP/IP process is running and retry the call.
4127 ECONNREFUSED
Cause. The remote host rejected the connection request. This error usually results
from an attempt to connect to a service that is inactive on the remote host.
Effect. The connect call failed.
Recovery. Start the server on the remote host then retry the connection.