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.
| Errno | Errno Number | Description | ||
|---|---|---|---|---|
| AIX | HP-UX | Solaris | ||
| EINTR | 4 | 4 | 4 |
Interrupted system call.
|
| EAGAIN | 11 | 11 | 11 |
Resource temporarily unavailable.
|
| EBUSY | 16 | 16 | 16 |
Resource busy.
|
| EMFILE | 24 | 24 | 24 |
The per-process file descriptor table is full.
|
| EPIPE | 32 | 32 | 32 |
Broken pipe.
|
| EADDRINUSE | 67 | 226 | 125 |
The specified address is already in use.
|
| ENETDOWN | 69 | 228 | 127 |
The network is down.
|
| ENETUNREACH | 70 | 229 | 128 |
No route to the network is available.
|
| ENETRESET | 71 | 230 | 129 |
The network has dropped the connection on reset.
|
| ECONNRESET | 73 | 232 | 131 |
Connection has been reset by the partner.
|
| ENOBUFS | 74 | 233 | 132 |
Insufficient buffer space resources were available in the system to complete the call.
|
| ENOTCONN | 76 | 235 | 134 |
The socket is not connected.
|
| ETIMEDOUT | 78 | 238 | 145 |
The connection timed out.
|
| ECONNREFUSED | 79 | 239 | 146 |
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 |
The host is down.
|
| EHOSTUNREACH | 81 | 242 | 148 |
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.
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. The errno number itself is in parentheses.
If using SOCKS protocol support, also ensure that TCP/IP protocol support at the SOCKS server has been started successfully.
For more information on OS/2 TCP/IP communication errors, refer to the OS/2 TCP/IP documentation.
When using a DOS TCP/IP product (IBM TCP/IP for DOS, FTP TCP/IP for DOS, Novell TCP/IP for DOS), the following is a list of errnos which the user may encounter most frequently. It is NOT a complete list of errors. The errno number itself is in parentheses.
For more information on DOS TCP/IP communication errors, refer to the documentation for your DOS TCP/IP product.
When using TCP/IP or IPX/SPX under Windows 3.1, Windows 95, or Windows NT, 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.
For more information on TCP/IP communication errors under Windows, refer to the Windows Sockets documentation.