nrfxlib API 2.7.99
Loading...
Searching...
No Matches

◆ nrf_socket()

int nrf_socket ( int  family,
int  type,
int  protocol 
)

#include <nrf_modem/include/nrf_socket.h>

Create a network socket.

See POSIX.1-2017 article for normative description.

In addition, the function may return -1 and set the following errno:

  • [NRF_ESHUTDOWN] Modem was shut down.