nrfxlib API 3.3.99
Loading...
Searching...
No Matches
Generic socket options

Socket options used with IP sockets. More...

Macros

#define NRF_SO_REUSEADDR   2
 Enable reuse of server addresses (write-only).
 
#define NRF_SO_ERROR   4
 Request and clear pending error information on the socket (read-only).
 
#define NRF_SO_RCVTIMEO   20
 Timeout value for a socket receive and accept operations.
 
#define NRF_SO_SNDTIMEO   21
 Timeout value for a socket send operation.
 
#define NRF_SO_SILENCE_ALL   30
 Disable ICMP echo replies on both IPv4 and IPv6.
 
#define NRF_SO_IP_ECHO_REPLY   31
 Enable ICMP echo replies on IPv4.
 
#define NRF_SO_IPV6_ECHO_REPLY   32
 Enable ICMP echo replies on IPv6.
 
#define NRF_SO_EXCEPTIONAL_DATA   33
 Send data on a socket as part of an exceptional event.
 
#define NRF_SO_KEEPOPEN   34
 Keep the socket open when its PDN connection is lost, or the device is set to flight mode.
 
#define NRF_SO_BINDTOPDN   40
 Bind a socket to a Packet Data Network (PDN) ID (write-only)
 
#define NRF_SO_TCP_SRV_SESSTIMEO   55
 Configure the TCP server session inactivity timeout for a socket.
 
#define NRF_SO_POLLCB   60
 Set a callback for nrf_poll events on sockets (write-only).
 
#define NRF_SO_RAI   61
 Release Assistance Indication (RAI) (write-only).
 
#define NRF_SO_IPV6_DELAYED_ADDR_REFRESH   62
 Delay IPv6 address refresh during power saving mode.
 
#define NRF_SO_SENDCB   63
 Callback to be called when a send request is acknowledged.
 

Detailed Description

Socket options used with IP sockets.