WiFi Socket Function return codes. More...
Macros | |
#define | ARM_SOCKET_ERROR (-1) |
Unspecified error. | |
#define | ARM_SOCKET_ESOCK (-2) |
Invalid socket. | |
#define | ARM_SOCKET_EINVAL (-3) |
Invalid argument. | |
#define | ARM_SOCKET_ENOTSUP (-4) |
Operation not supported. | |
#define | ARM_SOCKET_ENOMEM (-5) |
Not enough memory. | |
#define | ARM_SOCKET_EAGAIN (-6) |
Operation would block or timed out. | |
#define | ARM_SOCKET_EINPROGRESS (-7) |
Operation in progress. | |
#define | ARM_SOCKET_ETIMEDOUT (-8) |
Operation timed out. | |
#define | ARM_SOCKET_EISCONN (-9) |
Socket is connected. | |
#define | ARM_SOCKET_ENOTCONN (-10) |
Socket is not connected. | |
#define | ARM_SOCKET_ECONNREFUSED (-11) |
Connection rejected by the peer. | |
#define | ARM_SOCKET_ECONNRESET (-12) |
Connection reset by the peer. | |
#define | ARM_SOCKET_ECONNABORTED (-13) |
Connection aborted locally. | |
#define | ARM_SOCKET_EALREADY (-14) |
Connection already in progress. | |
#define | ARM_SOCKET_EADDRINUSE (-15) |
Address in use. | |
#define | ARM_SOCKET_EHOSTNOTFOUND (-16) |
Host not found. | |
WiFi Socket Function return codes.
This section lists all the return errors the WiFi socket functions will return. The error codes are negative. This makes it easy to check an error when the return code is less than 0.
#define ARM_SOCKET_ERROR (-1) |
Unspecified error.
#define ARM_SOCKET_ESOCK (-2) |
Invalid socket.
#define ARM_SOCKET_EINVAL (-3) |
Invalid argument.
#define ARM_SOCKET_ENOTSUP (-4) |
Operation not supported.
#define ARM_SOCKET_ENOMEM (-5) |
Not enough memory.
#define ARM_SOCKET_EAGAIN (-6) |
Operation would block or timed out.
#define ARM_SOCKET_EINPROGRESS (-7) |
Operation in progress.
#define ARM_SOCKET_ETIMEDOUT (-8) |
Operation timed out.
#define ARM_SOCKET_EISCONN (-9) |
Socket is connected.
#define ARM_SOCKET_ENOTCONN (-10) |
Socket is not connected.
#define ARM_SOCKET_ECONNREFUSED (-11) |
Connection rejected by the peer.
#define ARM_SOCKET_ECONNRESET (-12) |
Connection reset by the peer.
#define ARM_SOCKET_ECONNABORTED (-13) |
Connection aborted locally.
#define ARM_SOCKET_EALREADY (-14) |
Connection already in progress.
#define ARM_SOCKET_EADDRINUSE (-15) |
Address in use.
#define ARM_SOCKET_EHOSTNOTFOUND (-16) |
Host not found.