Socket Return Codes#
Macros#
General error code for unspecified errors.
Error code indicating an invalid socket.
Error code indicating an invalid argument.
Error code indicating that the requested operation is not supported.
Error code indicating that there is not enough memory to perform the requested operation.
Error code indicating that the operation would block or has timed out.
Error code indicating that the operation is in progress.
Error code indicating that the operation has timed out.
Error code indicating that the socket is already connected.
Error code indicating that the socket is not connected.
Error code indicating that the connection was refused by the peer.
Error code indicating that the connection was reset by the peer.
Error code indicating that the connection was aborted locally.
Error code indicating that a connection is already in progress.
Error code indicating that the address is already in use.
Error code indicating that the host was not found.
Macro Definition Documentation#
IOT_SOCKET_ENOTSUP#
#define IOT_SOCKET_ENOTSUPValue:
(-4)
Error code indicating that the requested operation is not supported.
IOT_SOCKET_ENOMEM#
#define IOT_SOCKET_ENOMEMValue:
(-5)
Error code indicating that there is not enough memory to perform the requested operation.
IOT_SOCKET_EAGAIN#
#define IOT_SOCKET_EAGAINValue:
(-6)
Error code indicating that the operation would block or has timed out.
IOT_SOCKET_EINPROGRESS#
#define IOT_SOCKET_EINPROGRESSValue:
(-7)
Error code indicating that the operation is in progress.
IOT_SOCKET_ETIMEDOUT#
#define IOT_SOCKET_ETIMEDOUTValue:
(-8)
Error code indicating that the operation has timed out.
IOT_SOCKET_EISCONN#
#define IOT_SOCKET_EISCONNValue:
(-9)
Error code indicating that the socket is already connected.
IOT_SOCKET_ENOTCONN#
#define IOT_SOCKET_ENOTCONNValue:
(-10)
Error code indicating that the socket is not connected.
IOT_SOCKET_ECONNREFUSED#
#define IOT_SOCKET_ECONNREFUSEDValue:
(-11)
Error code indicating that the connection was refused by the peer.
IOT_SOCKET_ECONNRESET#
#define IOT_SOCKET_ECONNRESETValue:
(-12)
Error code indicating that the connection was reset by the peer.
IOT_SOCKET_ECONNABORTED#
#define IOT_SOCKET_ECONNABORTEDValue:
(-13)
Error code indicating that the connection was aborted locally.
IOT_SOCKET_EALREADY#
#define IOT_SOCKET_EALREADYValue:
(-14)
Error code indicating that a connection is already in progress.
IOT_SOCKET_EADDRINUSE#
#define IOT_SOCKET_EADDRINUSEValue:
(-15)
Error code indicating that the address is already in use.
IOT_SOCKET_EHOSTNOTFOUND#
#define IOT_SOCKET_EHOSTNOTFOUNDValue:
(-16)
Error code indicating that the host was not found.