Lines Matching refs:sa4
1333 memset(&serveraddr.sa4, 0, sizeof(serveraddr.sa4));
1334 serveraddr.sa4.sin_family = AF_INET;
1335 serveraddr.sa4.sin_port = htons(port);
1336 if(Curl_inet_pton(AF_INET, ipaddr, &serveraddr.sa4.sin_addr) < 1) {
1342 rc = connect(serverfd, &serveraddr.sa, sizeof(serveraddr.sa4));
2119 memset(&me.sa4, 0, sizeof(me.sa4));
2120 me.sa4.sin_family = AF_INET;
2121 me.sa4.sin_addr.s_addr = INADDR_ANY;
2122 me.sa4.sin_port = htons(port);
2123 rc = bind(sock, &me.sa, sizeof(me.sa4));