MCUXpresso SDK API Reference Manual  Rev. 0
NXP Semiconductors
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Secure Socket Options

Options for lOptionName in SOCKETS_SetSockOpt(). More...

Overview

Macros

#define SOCKETS_SO_RCVTIMEO   ( 0 )
 
#define SOCKETS_SO_SNDTIMEO   ( 1 )
 
#define SOCKETS_SO_SNDBUF   ( 4 )
 
#define SOCKETS_SO_RCVBUF   ( 5 )
 
#define SOCKETS_SO_SERVER_NAME_INDICATION   ( 6 )
 
#define SOCKETS_SO_TRUSTED_SERVER_CERTIFICATE   ( 7 )
 
#define SOCKETS_SO_REQUIRE_TLS   ( 8 )
 
#define SOCKETS_SO_NONBLOCK   ( 9 )
 
#define SOCKETS_SO_ALPN_PROTOCOLS   ( 10 )
 
#define SOCKETS_SO_WAKEUP_CALLBACK   ( 17 )
 

Macro Definition Documentation

#define SOCKETS_SO_RCVTIMEO   ( 0 )

Set the receive timeout.

#define SOCKETS_SO_SNDTIMEO   ( 1 )

Set the send timeout.

#define SOCKETS_SO_SNDBUF   ( 4 )

Set the size of the send buffer (TCP only).

#define SOCKETS_SO_RCVBUF   ( 5 )

Set the size of the receive buffer (TCP only).

#define SOCKETS_SO_SERVER_NAME_INDICATION   ( 6 )

Toggle client use of TLS SNI.

#define SOCKETS_SO_TRUSTED_SERVER_CERTIFICATE   ( 7 )

Override default TLS server certificate trust. Must be PEM encoded and length must include null terminator.

#define SOCKETS_SO_REQUIRE_TLS   ( 8 )

Toggle client enforcement of TLS.

#define SOCKETS_SO_NONBLOCK   ( 9 )

Socket is nonblocking.

#define SOCKETS_SO_ALPN_PROTOCOLS   ( 10 )

Application protocol list to be included in TLS ClientHello.

#define SOCKETS_SO_WAKEUP_CALLBACK   ( 17 )

Set the callback to be called whenever there is data available on the socket for reading.