Lines Matching refs:hints
149 struct addrinfo hints;
154 hints.ai_flags = 0;
155 hints.ai_family = PF_UNSPEC;
156 hints.ai_socktype = 0;
157 hints.ai_protocol = 0;
159 hints.ai_addrlen = 0;
160 hints.ai_canonname = NULL;
161 hints.ai_addr = NULL;
162 hints.ai_next = NULL;
168 hints.ai_socktype = SOCK_STREAM;
173 hints.ai_socktype = SOCK_STREAM;
178 hints.ai_socktype = SOCK_STREAM;
183 hints.ai_socktype = SOCK_DGRAM;
187 hints.ai_socktype = SOCK_DGRAM;
206 ret = getaddrinfo(hostname, service, &hints, &ai);
209 ret = getaddrinfo(hostname, service, &hints, &ai);