二维码

TCP/IP 错误

1220 人阅读 | 时间:2021年08月10日 10:04

TCP/IP 错误

当检测到 TCP/IP 特定的通信错误时,软件会返回SQL30081N消息 ( -30081 )。通信子系统遇到的 TCP/IP 错误在SQL30081N消息的错误标记列表中返回

TCP/IP

下表列出了errnosLinux® 和 UNIX 操作系统上的常见 TCP/IP 错误符号 ( )。UNIX 操作系统中 TCP/IP 错误的完整列表可以在/usr/include/sys/errno.h文件中找到在 Linux 操作系统上,可以在/usr/include/asm/errno.h文件中找到 TCP/IP 错误的完整列表

Table 1. UNIX TCP/IP error numbers
errnos
AIX® error number
HP-UX error number
Solaris error number
Linux error number
Description
EINTR4444The function specified was interrupted by a signal.
EBADF9999Bad socket. The socket might have been corrupted.
EAGAIN11111111Resource temporarily unavailable.
EFAULT14141414Bad address.

On connect, bad address.

On receive, the data was directed to be received into a nonexistent or protected part of the process address space. The buffer is not valid.

EBUSY16161616Resource busy.
EINVAL22222222Invalid argument that is passed to the specified function or the socket is closed. The EINVAL error can be returned if there was a memory overwrite, or buffer overflow problem.
ENFILE23232323Too many open files in the system.
EMFILE24242424The per-process file descriptor table is full. Number of file descriptors/sockets for the process is exceeded.
ENOSPC28282828No space is left on a device or system table.
EPIPE32323232Broken pipe.
EWOULDBLOCK542461111On the connect function, the range that is allocated for TCP/UDP ephemeral ports is exhausted. (Some operating systems return the same error as EAGAIN.)
ENOTSOCK572169588Socket operation on a non-socket.
ENOPROTOOPT612209992Option is unknown.
EADDRINUSE6722612598The specified address is already in use. Perhaps the previous process that established the connection was terminated abnormally or was not cleaned up properly.
EADDRNOTAVAIL6822712699The specified host name or IP address is not available from the local system.
ENETDOWN69228127100The network is down.
ENETUNREACH70229128101No route to the network or host is available.
ENETRESET71230129102The network dropped the connection on reset.
ECONNRESET73232131104Connection was reset by the partner.
ENOBUFS74233132105Insufficient memory or resources were available in the system to complete the call.
EISCONN75234133106The socket is already connected.
ENOTCONN76235134107The socket is not connected.
ETIMEDOUT78238145110The connection was timed out.
ECONNREFUSED79

©著作权归作者所有:来自ZhiKuGroup博客作者没文化的原创作品,如需转载,请注明出处,否则将追究法律责任 来源:ZhiKuGroup博客,欢迎分享。

评论专区
  • 昵 称必填
  • 邮 箱选填
  • 网 址选填
◎已有 0 人评论
搜索
作者介绍
30天热门
×
×
本站会员尊享VIP特权,现在就加入我们吧!登录注册×
»
会员注册
已有账号登录
×