TCP/IP Codes/States

This table summarizes potential ODBC State information messages which can be returned to CONNX.

 

TCP/IP Code/State

Message Text

Recommended Action

10004 (WSAEINTR)

Interrupted function call: a blocking operation was interrupted.

None required.

10013 (WSAEACCES)

Permission denied: Socket access attempt is prohibited by its access permissions.

Notify network administrator.

10014 (WSAEFAULT)

Bad pointer address detected in a socket function call pointer argument.

Notify CONNX Technical Support.

10022 (WSAEINVAL)

Winsock function called with an invalid argument.

Notify CONNX Technical Support.

10024 (WSAEMFILE)

No file descriptors are available: too many open sockets.

Close some connections and retry the connect; notify CONNX Technical Support if problem recurs.

10035 (WSAEWOULDBLOCK)

The requested operation would block a non-blocking socket.

Retry the operation.

10036 (WSAEINPROGRESS)

Blocking sockets operation in progress.

Retry the operation.

10037 (WSAEALREADY)

Operation already in progress. A second operation was attempted on a nonblocking socket.

Notify CONNX Technical Support.

10038 (WSAENOTSOCK)

Socket operation on non-socket.

Notify CONNX Technical Support.

10039 (WSAEDESTADDRREQ)

Destination address required.

Double-check the TCP/IP destination address and port number; notify CONNX Technical Support if problem recurs.

10040 (WSAEMSGSIZE)

Message too long.

Notify CONNX Technical Support.

10041 (WSAEPROTOTYPE)

Protocol wrong type for socket.

Notify CONNX Technical Support.

10042 (WSAENOPROTOOPT)

Unknown / unsuppported winsock option.

Notify CONNX Technical Support.

10043 (WSAEPROTONOSUPPORT)

Protocol not supported.

Probable configuration error; notify network administrator.

10044 (WSAESOCKTNOSUPPORT)

Socket type not supported.

Notify network administrator and CONNX Technical Support.

10045 (WSAEOPNOTSUPP)

Operation not supported.

Notify CONNX Technical Support.

10046 (WSAEPFNOSUPPORT)

Protocol family not supported.

Notify network administrator.

10047 (WSAEAFNOSUPPORT)

Address family not supported by protocol family.

Notify CONNX Technical Support.

10048 (WSAEADDRINUSE)

Requested address is in use. Only one usage of each socket address (protocol/IP address/port) is permitted.

Notify network and DB2 administrators.

10049 (WSAEADDRNOTAVAIL)

Cannot assign requested address.

Double-check TCP/IP destination address and port number; retry.

10050 (WSAENETDOWN)

Network subsystem failed.

Notify network administrator.

10051 (WSAENETUNREACH)

The requested network is currently unreachable.

Retry connect attempt later; also try pinging the destination address.

10052 (WSAENETRESET)

Remote host has reset the connection.

Retry connection; notify CONNX Technical Support if problem recurs.

10053 (WSAECONNABORTED)

Network dropped the connection because of a timeout or related failure.

Notify CONNX Technical Support.

10054 (WSAECONNRESET)

Connection was reset by the partner.

Retry connection; notify network and DB2 administrators if problem persists.

10055 (WSAENOBUFS)

No buffer space available: too many connections.

Close some client applications and try again; notify CONNX Technical Support if problem persists.

10056 (WSAEISCONN)

Socket is already connected.

Notify CONNX Technical Support.

10057 (WSAENOTCONN)

Socket is not connected.

Notify CONNX Technical Support.

10058 (WSAESHUTDOWN)

Cannot send after socket shutdown.

Notify CONNX Technical Support.

10060 (WSAETIMEDOUT)

The connect request timed out.

Verify that TCP/IP is supported and started on the target server, and that the IP address and port are correct.

10061 (WSAECONNREFUSED)

Connection refused.

Verify that TCP/IP is supported and started on the target server, and that the IP address and port are correct.

10064 (WSAEHOSTDOWN)

Host is down: socket operation failed.

Retry connection; notify network and DB2 administrators if problem persists.

10065 (WSAEHOSTUNREACH)

Requested network is currently unreachable from this host.

Retry connect attempt later; also try pinging the destination address.

10067 (WSAEPROCLIM)

Too many processes. The maximum number of simultaneous applications using a socket has been reached.

Close some client connections and retry; notify CONNX Technical Support if problem persists.

10091 (WSASYSNOTREADY)

Network subsystem is not ready for communication.

Probable client configuration problem; notify network administrator.

10092 (WSAVERNOTSUPPORTED)

The requested Windows Sockets version is not supported by the winsock DLL.

Probable client configuration problem; notify network administrator.

10093 (WSANOTINITIALISED)

Successful WSAStartup not yet performed.

Notify CONNX Technical Support.

10094 (WSAEDISCON)

Graceful shutdown in progress.

Retry connection.

11001 (WSAHOST_NOT_FOUND)

Host not found.

Double-check the TCP/IP address and the port number of the target server.

11002 (WSATRY_AGAIN)

Host not found; try again. The name server did not return the hostname IP address.

Retry the connection.

11003 (WSANO_RECOVERY)

A non-recoverable error occurred during a database lookup. One or more HOSTS, SERVICES, or PROTOCOLS files could not be found, or a DNS server returned a severe error.

Probable client configuration problem; notify network administrator.

11004 (WSANO_DATA)

Valid name, no data record of requested type. The hostname is not defined at the name server, or in the hosts file.

Probable network configuration problem; notify network administrator.