IPX/SPX Programming Manual
HP NonStop IPX/SPX Programming Manual—528022-001
B-1
B Socket Errors
This appendix summarizes the socket errors that can be returned in the external
variable errno by the routines in the socket interface library.
Socket errors start at base 4000.
Note that the errors returned in the external variable h_errno are not contained in this
appendix. For those errors, see the error descriptions under the gethostbyaddr and
gethostbyname functions in Section 5, Library Routines.
The descriptions given here are general; you should interpret each error according to
the type and circumstances of the call. For specific information about the meaning of
an error for a particular socket routine, see the description of the individual routine in
Section 5, Library Routines.
Some of the errors defined in $SYSTEM.ZTCPIP.PARAMH are for HP internal use only
and cannot be received by application programs using the socket calls. This appendix
lists only those socket errors that can be received by application programs.
File-system errors can also be returned in errno upon return from a socket call.
File-system errors indicate that an error occurred during interprocess I/O. For
descriptions of the file-system errors, refer to the Guardian Procedure Errors and
Messages Manual.
The SAP library function calls described in Section 5, Library Routines, return
file-system errors. For descriptions of the file-system errors, refer to the Guardian
Procedure Errors and Messages Manual.
The socket errors are described in alphabetical order. The error number associated
with each error is shown in parentheses following the mnemonic name of the error.
Table B-1, at the end of this appendix, is a list of the errors in numerical order.