nrfxlib API 0.1.0
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.