![]() |
nrfxlib API 3.3.99
|
| int nrf_connect | ( | int | socket, |
| const struct nrf_sockaddr * | address, | ||
| nrf_socklen_t | address_len ) |
#include <nrf_modem/include/nrf_socket.h>
Connect a socket.
See POSIX.1-2017 article for normative description.
In addition, the function may return -1 and set the following errno:
In addition, an asynchronous connection attempt will fail and set NRF_SO_ERROR if: