Home
last modified time | relevance | path

Searched refs:bind_ip (Results 1 - 2 of 2) sorted by relevance

/third_party/mbedtls/include/mbedtls/
H A Dnet_sockets.h120 * \brief Create a receiving socket on bind_ip:port in the chosen
121 * protocol. If bind_ip == NULL, all interfaces are bound.
124 * \param bind_ip IP to bind to, can be NULL
137 int mbedtls_net_bind(mbedtls_net_context *ctx, const char *bind_ip, const char *port, int proto);
/third_party/mbedtls/library/
H A Dnet_sockets.c220 * Create a listening socket on bind_ip:port
222 int mbedtls_net_bind(mbedtls_net_context *ctx, const char *bind_ip, const char *port, int proto) in mbedtls_net_bind() argument
236 if (bind_ip == NULL) { in mbedtls_net_bind()
240 if (getaddrinfo(bind_ip, port, &hints, &addr_list) != 0) { in mbedtls_net_bind()

Completed in 2 milliseconds