gtpc1m6w | Transmission Control Protocol/Internet Protocol |
This appendix contains socket error return codes that apply to the socket
APIs. See Table 9 for the error codes, message names, and error code
descriptions. The table is sorted numerically by error code
number.
Table 9. Socket Error Return Codes
Error Codes | Symbolic Name | Description |
---|---|---|
1 | SOCPERM | Not owner |
3 | SOCSRCH | No such process |
4 | SOCINTR | Interrupted system call |
6 | SOCNXIO | No such device or address |
9 | SOCBADF | Bad file number |
13 | SOCACCES | Permission denied |
14 | SOCFAULT | Bad address |
22 | SOCINVAL | Invalid argument |
24 | SOCMFILE | Too many open files |
32 | SOCPIPE | Broken pipe |
35 | SOCWOULDBLOCK | Operation would block |
36 | SOCINPROGRESS | Operation now in progress |
37 | SOCALREADY | Operation already in progress |
38 | SOCNOTSOCK | Socket operation on non-socket |
39 | SOCDESTADDRREQ | Destination address required |
40 | SOCMSGSIZE | Message too long |
41 | SOCPROTOTYPE | Protocol wrong type for socket |
42 | SOCNOPROTOOPT | Protocol not available |
43 | SOCPROTONOSUPPORT | Protocol not supported |
44 | SOCSOCKTNOSUPPORT | Socket type not supported |
45 | SOCOPNOTSUP | Operation not supported on socket |
47 | SOCAFNOSUPPORT | Address family not support by protocol family |
48 | SOCADDRINUSE | Address already in use |
49 | SOCADDRNOTAVAIL | Can't assign requested address |
50 | SOCNETDOWN | Network is down |
51 | SOCNETUNREACH | Network is unreachable |
52 | SOCNETRESET | Network is dropped connection on reset |
53 | SOCCONNABORTED | Software caused connection abort |
54 | SOCCONNRESET | Connection reset by peer |
55 | SOCNOBUFS | No buffer space available |
56 | SOCISCONN | Socket is already connected |
57 | SOCNOTCONN | Socket is not connected |
58 | SOCSHUTDOWN | Can't send after socket shutdown |
59 | SOCTOOMANYREFS | Too many references: can't splice |
60 | SOCTIMEDOUT | Connection timed out |
61 | SOCCONNREFUSED | Connection refused |
62 | SOCLOOP | Too many levels of symbolic links |
63 | SOCNAMETOOLONG | File name too long |
64 | SOCHOSTDOWN | Host is down |
65 | SOCHOSTUNREACH | No route to host |
66 | SOCNOTEMPTY | Directory not empty |
100 | SOCOS2ERR | OS/2 Error |
251 | EINACTWS | Offload device deactivated |
252 | E1052STATE | System cycling to 1052 state |
253 | EINACT | All offload devices deactivated |
254 | ESYSTEMERROR | Socket system error |
1000 | OFFLOADTIMEOUT | Offload device time-out |
1004 | EIBMIUCVERR | Failure with offload device |
2000 | SOCFDNOTFOUND | FD entry cannot be found |
2001 | SOCIPNOTFOUND | IP entry cannot be found |