nn::socket::SocketError Enumerated Typeenum SocketError;
| Value | Description |
|---|---|
E2BIG |
|
EACCES |
No usage rights. |
EADDRINUSE |
Address is already in use. |
EADDRNOTAVAIL |
Unusable address. |
EAFNOSUPPORT |
Unsupported address family. |
EAGAIN |
A retry is needed because a non-blocking control was performed or because a time-out occurred. (Same as EWOULDBLOCK) |
EALREADY |
|
EBADF |
Invalid socket descriptor. |
EBADMSG |
|
EBUSY |
|
ECANCELED |
|
ECHILD |
|
ECONNABORTED |
Interrupted connection. |
ECONNREFUSED |
Refused connection. |
ECONNRESET |
Reset connection. |
EDEADLK |
|
EDESTADDRREQ |
Unspecified ending address. |
EDOM |
|
EDQUOT |
|
EEXIST |
|
EFAULT |
|
EFBIG |
|
EHOSTUNREACH |
|
EIDRM |
|
EILSEQ |
|
EINPROGRESS |
Connection has not yet completed. |
EINTR |
Suspended. |
EINVAL |
Invalid processing. |
EIO |
An input/output error |
EISCONN |
The socket is already connected. |
EISDIR |
|
ELOOP |
|
EMFILE |
Unable to create any more socket descriptors. |
EMLINK |
|
EMSGSIZE |
The data is too large to send. |
EMULTIHOP |
|
ENAMETOOLONG |
|
ENETDOWN |
The relevant instance is down. |
ENETRESET |
The socket library has not been initialized. |
ENETUNREACH |
Unreachable. |
ENFILE |
|
ENOBUFS |
Insufficient resources |
ENODATA |
|
ENODEV |
|
ENOENT |
|
ENOEXEC |
|
ENOLCK |
|
ENOLINK |
|
ENOMEM |
Insufficient memory. |
ENOMSG |
|
ENOPROTOOPT |
Unsupported option. |
ENOSPC |
|
ENOSR |
|
ENOSTR |
|
ENOSYS |
|
ENOTCONN |
Not connected. |
ENOTDIR |
|
ENOTEMPTY |
|
ENOTSOCK |
|
ENOTSUP |
|
ENOTTY |
|
ENXIO |
|
EOPNOTSUPP |
Unsupported process. |
EOVERFLOW |
|
EPERM |
|
EPIPE |
|
EPROTO |
|
EPROTONOSUPPORT |
Unsupported protocol. |
EPROTOTYPE |
Unsupported socket type. |
ERANGE |
|
EROFS |
|
ESPIPE |
|
ESRCH |
|
ESTALE |
|
ETIME |
|
ETIMEDOUT |
Timeout. |
ETXTBSY |
|
EWOULDBLOCK |
Cannot execute until the requested operation is unblocked. (Same as EAGAIN) /* Posix.1g */ |
EXDEV |
Error values shared by socket functions. Errors without descriptions are used internally and are never returned by the socket API.
CONFIDENTIAL