Lines Matching defs:timeout
303 // set_waitlimit() implements a timeout using select. It is called from deliver_request() before recv() OR accept()
309 static int set_waitlimit(dnssd_sock_t sock, int timeout)
313 // To prevent stack corruption since select does not work with timeout if fds > FD_SETSIZE(1024)
321 tv.tv_sec = timeout;
326 syslog(LOG_WARNING, "dnssd_clientstub set_waitlimit:_daemon timed out (%d secs) without any response: Socket %d", timeout, sock);
834 // Otherwise, if the daemon closes our socket (or crashes), we will have to wait for a timeout
2250 unsigned int timeout,
2271 if (!timeout) return kDNSServiceErr_BadParam;
2316 len = snprintf(buf+1, sizeof(buf) - 1, "t=%u h=%s d=%s l=%u r=%u", timeout, source_str, target_str, ntohs(sl->sin_port), ntohs(sr->sin_port));
2337 len = snprintf(buf+1, sizeof(buf) - 1, "t=%u H=%s D=%s l=%u r=%u", timeout, source_str, target_str, ntohs(sl6->sin6_port), ntohs(sr6->sin6_port));