Lines Matching refs:dns_sock
126 close(dns_sock);
2208 if(build_socket(http_servport, dns_servport, &http_sock, &dns_sock) < 0){
2212 if(fcntl(dns_sock, F_SETFL, fcntl(dns_sock, F_GETFL, 0) | O_NONBLOCK) < 0){
2213 _dprintf("wanduck set dnssock [%d] nonblock fail !\n", dns_sock);
2226 maxfd = (http_sock > dns_sock)?http_sock:dns_sock;
2231 FD_SET(dns_sock, &allset);
3591 if(FD_ISSET(dns_sock, &rset)){
3592 run_dns_serv(dns_sock);