Lines Matching defs:timeout
61 struct timeval timeout;
75 /* set a suitable timeout to play around with */
76 timeout.tv_sec = 1;
77 timeout.tv_usec = 0;
81 timeout.tv_sec = curl_timeo / 1000;
82 if(timeout.tv_sec > 1)
83 timeout.tv_sec = 1;
85 timeout.tv_usec = (curl_timeo % 1000) * 1000;
97 rc = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
107 /* timeout or readable/writable sockets */