CMSIS-Driver  
Peripheral Interface for Middleware and Application Code
 
Loading...
Searching...
No Matches
WiFi Socket Option definitions

WiFi Socket Option definitions. More...

Macros

#define ARM_SOCKET_IO_FIONBIO   1
 Non-blocking I/O (Set only, default = 0); opt_val = &nbio, opt_len = sizeof(nbio), nbio (integer): 0=blocking, non-blocking otherwise.
 
#define ARM_SOCKET_SO_RCVTIMEO   2
 Receive timeout in ms (default = 0); opt_val = &timeout, opt_len = sizeof(timeout)
 
#define ARM_SOCKET_SO_SNDTIMEO   3
 Send timeout in ms (default = 0); opt_val = &timeout, opt_len = sizeof(timeout)
 
#define ARM_SOCKET_SO_KEEPALIVE   4
 Keep-alive messages (default = 0); opt_val = &keepalive, opt_len = sizeof(keepalive), keepalive (integer): 0=disabled, enabled otherwise.
 
#define ARM_SOCKET_SO_TYPE   5
 Socket Type (Get only); opt_val = &socket_type, opt_len = sizeof(socket_type), socket_type (integer): ARM_SOCKET_SOCK_xxx.
 

Description

WiFi Socket Option definitions.

The WiFi Socket Option specifies the socket option for which the value is to be set or obtained.

Macro Definition Documentation

◆ ARM_SOCKET_IO_FIONBIO

#define ARM_SOCKET_IO_FIONBIO   1

Non-blocking I/O (Set only, default = 0); opt_val = &nbio, opt_len = sizeof(nbio), nbio (integer): 0=blocking, non-blocking otherwise.

Enables or disables the non-blocking mode for the WiFi socket.

See also
WiFi Socket Option definitions

◆ ARM_SOCKET_SO_RCVTIMEO

#define ARM_SOCKET_SO_RCVTIMEO   2

Receive timeout in ms (default = 0); opt_val = &timeout, opt_len = sizeof(timeout)

Specifies the time limit for receiving in blocking mode. The time limit is in milliseconds.

See also
WiFi Socket Option definitions

◆ ARM_SOCKET_SO_SNDTIMEO

#define ARM_SOCKET_SO_SNDTIMEO   3

Send timeout in ms (default = 0); opt_val = &timeout, opt_len = sizeof(timeout)

Specifies the time limit for sending in blocking mode. The time limit is in milliseconds.

See also
WiFi Socket Option definitions

◆ ARM_SOCKET_SO_KEEPALIVE

#define ARM_SOCKET_SO_KEEPALIVE   4

Keep-alive messages (default = 0); opt_val = &keepalive, opt_len = sizeof(keepalive), keepalive (integer): 0=disabled, enabled otherwise.

Enables or disables the keep-alive mode for the stream socket.

See also
WiFi Socket Option definitions

◆ ARM_SOCKET_SO_TYPE

#define ARM_SOCKET_SO_TYPE   5

Socket Type (Get only); opt_val = &socket_type, opt_len = sizeof(socket_type), socket_type (integer): ARM_SOCKET_SOCK_xxx.

Obtains the type of the Wifi socket.

See also
WiFi Socket Option definitions