Home
last modified time | relevance | path

Searched refs:serveraddr (Results 1 – 1 of 1) sorted by relevance

/third_party/curl/tests/server/
Dsws.c1210 srvr_sockaddr_union_t serveraddr; in connect_to() local
1251 memset(&serveraddr.sa4, 0, sizeof(serveraddr.sa4)); in connect_to()
1252 serveraddr.sa4.sin_family = AF_INET; in connect_to()
1253 serveraddr.sa4.sin_port = htons(port); in connect_to()
1254 if(Curl_inet_pton(AF_INET, ipaddr, &serveraddr.sa4.sin_addr) < 1) { in connect_to()
1260 rc = connect(serverfd, &serveraddr.sa, sizeof(serveraddr.sa4)); in connect_to()
1264 memset(&serveraddr.sa6, 0, sizeof(serveraddr.sa6)); in connect_to()
1265 serveraddr.sa6.sin6_family = AF_INET6; in connect_to()
1266 serveraddr.sa6.sin6_port = htons(port); in connect_to()
1267 if(Curl_inet_pton(AF_INET6, ipaddr, &serveraddr.sa6.sin6_addr) < 1) { in connect_to()
[all …]