错误码
TCP/UDP错误码
在TCP应用过程中如果发生错误,将会以TCP ERROR:<err code>
形式上报。
TCP错误码:
错误码<err code> | 中文释义 | 英文释义 |
---|---|---|
0 | 成功 | No error |
1 | TCPIP线程没有被使用 | TCPIP is idle |
2 | 没有可用的tsapi | No tsapi |
3 | 无效的tsapi | Invalid tsapi |
4 | 空间不足 | No buffer |
5 | 网络错误 | Network error |
6 | 远程主机不可达 | Remote host is unreachable |
7 | 地址正在使用中 | The address is already in use |
8 | 地址无效 | The address is not available |
9 | 携带的数据太多或者太少 | The supplied buffer is too large or small |
10 | 参数无效 | Invalid parameter |
11 | 远程主机拒绝连接 | Remote host has rejected the connection |
12 | 超时 | Time out |
13 | 连接被终止 | An established connection is aborted |
14 | 连接被重置 | Remote host has reset the connection |
15 | socket连接已经建立 | The socket is already connected |
16 | socket没有连接 | The socket is not connected |
17 | socket连接已经被断开 | The socket has been shutdown |
18 | 未知错误 | Undefined error |
在UDP应用过程中如果发生错误,将会以UDP ERROR:
UDP错误码:
错误码<err code> | 中文释义 | 英文释义 |
---|---|---|
0 | 成功 | No error |
1 | TCPIP线程没有被使用 | TCPIP is idle |
2 | 没有可用的tsapi | No tsapi |
3 | 无效的tsapi | Invalid tsapi |
4 | 回调未注册 | The callback has not been registered |
5 | 空间不足 | No buffer |
6 | 网络错误 | Network error |
7 | 远程主机拒绝连接 | Remote host has rejected the connection |
8 | 远程主机不可达 | Remote host is unreachable |
9 | 地址正在使用中 | The address is already in use |
10 | 地址无效 | The address is not available |
11 | 携带的数据太多或者太少 | The supplied buffer is too large or small |
12 | 参数无效 | Invalid parameter |
13 | TCPIP线程忙 | TCPIP is busy |
14 | 未知错误 | Undefined error |
15 | socket连接已经建立 | The socket is already connected |