Message Reference

TCP/IP

When using TCP/IP in a Unix environment, the following table lists some of the errnos which the user may encounter most frequently. It is NOT a complete list of errors. Errnos can be found in the file /usr/include/sys/errno.h. The errno number itself is indicated for each operating system.

Table 36. Unix TCP/IP errnos.
Errno Errno Number Description
AIX HP-UX Solaris UnixWare Linux
EINTR 4 4 4 4 4 Interrupted system call.
EAGAIN 11 11 11 11 11 Resource temporarily unavailable.
EBUSY 16 16 16 16 16 Resource busy.
EMFILE 24 24 24 24 24 The per-process file descriptor table is full.
EPIPE 32 32 32 32 32 Broken pipe.
EADDRINUSE 67 226 125 125 98 The specified address is already in use.
ENETDOWN 69 228 127 127 100 The network is down.
ENETUNREACH 70 229 128 128 101 No route to the network is available.
ENETRESET 71 230 129 129 102 The network has dropped the connection on reset.
ECONNRESET 73 232 131 131 104 Connection has been reset by the partner.
ENOBUFS 74 233 132 132 105 Insufficient buffer space resources were available in the system to complete the call.
ENOTCONN 76 235 134 134 107 The socket is not connected.
ETIMEDOUT 78 238 145 145 110 The connection timed out.
ECONNREFUSED 79 239 146 146 111 The connection has been refused. If you are trying to connect to the database, check that the database manager and TCP/IP protocol support at the server have been started successfully.

If using SOCKS protocol support, also ensure that TCP/IP protocol support at the SOCKS server has been started successfully.

EHOSTDOWN 80 241 147 147 112 The host is down.
EHOSTUNREACH 81 242 148 148 113 No route to the host is available.

For more information on Unix TCP/IP communication errors, refer to the technical reference manuals for the appropriate operating system. You can also issue the following command:

   man function-name

where function-name represents the name of the function that returned an error. The man pages might provide you with additional information about errors returned by specific functions.


When using OS/2 TCP/IP, the following is a list of errnos which the user may encounter most frequently. It is NOT a complete list of errors. Errnos can be found in the file nerrno.h This file is part of the TCP/IP product include files. It may not be present on your system if they have not been installed. The errno number itself is in parentheses.

For more information on OS/2 TCP/IP communication errors, refer to the OS/2 TCP/IP documentation.


When using TCP/IP or IPX/SPX on a Windows 32-bit operating system, the following is a list of error codes which the user may encounter most frequently. It is NOT a complete list of errors. Errors returned by WSAGetLastError() can be found in the file winsock.h. This file may not be installed on your system if you do not have a development environment installed. Detailed information about errors returned by specific functions are documented in the Windows Sockets 2 Application Programming Interface. You can get a copy of this specification from the following website: http://www.stardust.com/winsock/ws_specs.htm .

For more information on TCP/IP communication errors under Windows, refer to the Windows Sockets documentation.


[ Top of Page | Previous Page | Next Page ]