Lines Matching defs:timeout
1658 mDNSexport void mDNSPosixGetFDSet(mDNS *m, int *nfds, fd_set *readfds, struct timeval *timeout)
1687 // 4. If client's proposed timeout is more than what we want, then reduce it
1688 if (timeout->tv_sec > interval.tv_sec ||
1689 (timeout->tv_sec == interval.tv_sec && timeout->tv_usec > interval.tv_usec))
1690 *timeout = interval;
1827 // Return as soon as internal timeout expires, or a signal we're listening for is received.
1833 struct timeval timeout = *pTimeout;
1836 mDNSPosixGetFDSet(m, &fdMax, &listenFDs, &timeout); // timeout may get modified
1840 numReady = select(fdMax + 1, &listenFDs, (fd_set*) NULL, (fd_set*) NULL, &timeout);