nrfxlib API 3.3.99
Loading...
Searching...
No Matches

◆ NRF_SO_SEC_HOSTNAME

#define NRF_SO_SEC_HOSTNAME   2

#include <nrf_modem/include/nrf_socket.h>

Configure the hostname used for peer verification.

Configure a hostname to check against during TLS handshakes.

The option value is a null-terminated string containing the host name to verify against. Passing NULL as an option value and 0 as an option length disables peer hostname verification.

By default, peer hostname verification is disabled.