Searched refs:local_address (Results 1 – 1 of 1) sorted by relevance
854 } local_address = {0}; local858 if (inet_pton(AF_INET, bindto, &local_address.in4.sin_addr) == 1) {860 local_address.in4.sin_family = sa->sa_family;861 local_address.in4.sin_port = htons(bindport);866 if (inet_pton(AF_INET6, bindto, &local_address.in6.sin6_addr) == 1) {868 local_address.in6.sin6_family = sa->sa_family;869 local_address.in6.sin6_port = htons(bindport);881 } else if (bind(sock, &local_address.common, local_address_len)) {
Completed in 7 milliseconds