Socket Interface Error Codes (Object Specific)
The following object-specific error codes may be returned by the module when using the socket interface object.
Error Code  | Name  | Meaning  | 
|---|---|---|
1  | ENOBUFS  | No internal buffers available  | 
2  | ETIMEDOUT  | A timeout event occurred  | 
3  | EISCONN  | Socket already connected  | 
4  | EOPNOTSUPP  | Service not supported  | 
5  | ECONNABORTED  | Connection was aborted  | 
6  | EWOULDBLOCK  | Socket cannot block because unblocking socket type  | 
7  | ECONNREFUSED  | Connection refused  | 
8  | ECONNRESET  | Connection reset  | 
9  | ENOTCONN  | Socket is not connected  | 
10  | EALREADY  | Socket is already in requested mode  | 
11  | EINVAL  | Invalid service data  | 
12  | EMSGSIZE  | Invalid message size  | 
13  | EPIPE  | Error in pipe  | 
14  | EDESTADDRREQ  | Destination address required  | 
15  | ESHUTDOWN  | Socket has already been shutdown  | 
16  | (reserved)  | -  | 
17  | EHAVEOOB  | Out of band data available  | 
18  | ENOMEM  | No internal memory available  | 
19  | EADDRNOTAVAIL  | Address is not available  | 
20  | EADDRINUSE  | Address already in use  | 
21  | (reserved)  | -  | 
22  | EINPROGRESS  | Service already in progress  | 
28  | ETOOMANYREFS  | Too many references  | 
101  | Command aborted  | If a command is blocking on a socket, and that socket is closed using the Delete command, this error code will be returned to the blocking command.  | 
102  | DNS name error  | Failed to resolve the host name (name error response from DNS server.)  | 
103  | DNS timeout  | Timeout when performing a DNS lookup.  | 
104  | DNS command failed  | Other DNS error.  |