CMSIS-Driver  
Peripheral Interface for Middleware and Application Code
 
Loading...
Searching...
No Matches
WiFi Socket Function return codes

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.
 

Description

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.

Macro Definition Documentation

◆ ARM_SOCKET_ERROR

#define ARM_SOCKET_ERROR   (-1)

Unspecified error.

See also
WiFi Socket Function return codes

◆ ARM_SOCKET_ESOCK

#define ARM_SOCKET_ESOCK   (-2)

Invalid socket.

See also
WiFi Socket Function return codes

◆ ARM_SOCKET_EINVAL

#define ARM_SOCKET_EINVAL   (-3)

Invalid argument.

See also
WiFi Socket Function return codes

◆ ARM_SOCKET_ENOTSUP

#define ARM_SOCKET_ENOTSUP   (-4)

Operation not supported.

See also
WiFi Socket Function return codes

◆ ARM_SOCKET_ENOMEM

#define ARM_SOCKET_ENOMEM   (-5)

Not enough memory.

See also
WiFi Socket Function return codes

◆ ARM_SOCKET_EAGAIN

#define ARM_SOCKET_EAGAIN   (-6)

Operation would block or timed out.

See also
WiFi Socket Function return codes

◆ ARM_SOCKET_EINPROGRESS

#define ARM_SOCKET_EINPROGRESS   (-7)

Operation in progress.

See also
WiFi Socket Function return codes

◆ ARM_SOCKET_ETIMEDOUT

#define ARM_SOCKET_ETIMEDOUT   (-8)

Operation timed out.

See also
WiFi Socket Function return codes

◆ ARM_SOCKET_EISCONN

#define ARM_SOCKET_EISCONN   (-9)

Socket is connected.

See also
WiFi Socket Function return codes

◆ ARM_SOCKET_ENOTCONN

#define ARM_SOCKET_ENOTCONN   (-10)

Socket is not connected.

See also
WiFi Socket Function return codes

◆ ARM_SOCKET_ECONNREFUSED

#define ARM_SOCKET_ECONNREFUSED   (-11)

Connection rejected by the peer.

See also
WiFi Socket Function return codes

◆ ARM_SOCKET_ECONNRESET

#define ARM_SOCKET_ECONNRESET   (-12)

Connection reset by the peer.

See also
WiFi Socket Function return codes

◆ ARM_SOCKET_ECONNABORTED

#define ARM_SOCKET_ECONNABORTED   (-13)

Connection aborted locally.

See also
WiFi Socket Function return codes

◆ ARM_SOCKET_EALREADY

#define ARM_SOCKET_EALREADY   (-14)

Connection already in progress.

See also
WiFi Socket Function return codes

◆ ARM_SOCKET_EADDRINUSE

#define ARM_SOCKET_EADDRINUSE   (-15)

Address in use.

See also
WiFi Socket Function return codes

◆ ARM_SOCKET_EHOSTNOTFOUND

#define ARM_SOCKET_EHOSTNOTFOUND   (-16)

Host not found.

See also
WiFi Socket Function return codes