Lines Matching refs:sa4
1337 memset(&serveraddr.sa4, 0, sizeof(serveraddr.sa4)); in connect_to()
1338 serveraddr.sa4.sin_family = AF_INET; in connect_to()
1339 serveraddr.sa4.sin_port = htons(port); in connect_to()
1340 if(Curl_inet_pton(AF_INET, ipaddr, &serveraddr.sa4.sin_addr) < 1) { in connect_to()
1346 rc = connect(serverfd, &serveraddr.sa, sizeof(serveraddr.sa4)); in connect_to()
2207 memset(&me.sa4, 0, sizeof(me.sa4)); in main()
2208 me.sa4.sin_family = AF_INET; in main()
2209 me.sa4.sin_addr.s_addr = INADDR_ANY; in main()
2210 me.sa4.sin_port = htons(port); in main()
2211 rc = bind(sock, &me.sa, sizeof(me.sa4)); in main()
2248 la_size = sizeof(localaddr.sa4); in main()
2263 port = ntohs(localaddr.sa4.sin_port); in main()