Lines Matching refs:sa4
70 struct sockaddr_in sa4;
76 memset(&sa4, 0, sizeof(sa4));
77 sa4.sin_family = AF_INET;
78 inet_pton(AF_INET, "127.0.0.1", &sa4.sin_addr);
79 sa4.sin_port = port;
80 if (connect(client_fd, (struct sockaddr*)(&sa4),
173 struct sockaddr_in sa4;
179 memset(&sa4, 0, sizeof(sa4));
180 sa4.sin_family = AF_INET;
181 inet_pton(AF_INET, "127.0.0.1", &sa4.sin_addr);
182 sa4.sin_port = sa.sin6_port;
183 connect_rc = connect(client_fd, (struct sockaddr*)(&sa4),
312 struct sockaddr_in sa4;
319 memset(&sa4, 0, sizeof(sa4));
320 sa4.sin_family = AF_INET;
321 inet_aton("127.0.0.1", &sa4.sin_addr);
322 sa4.sin_port = sa.sin6_port;
324 if (connect(client_fd, (struct sockaddr*)(&sa4),