![]() |
nRF Connect SDK API 3.1.99
|
| int slm_bind_to_local_addr | ( | int | socket, |
| int | family, | ||
| uint16_t | port ) |
Bind socket to a local network address.
| socket | Socket to bind. |
| family | Socket family (AF_INET/AF_INET6). |
| port | Port to bind to. |
| 0 | If the operation was successful. Otherwise, a (negative) error code is returned. |