Lines Matching defs:timeout
84 struct timeval timeout;
98 /* set a suitable timeout to play around with */
99 timeout.tv_sec = 1;
100 timeout.tv_usec = 0;
104 timeout.tv_sec = curl_timeo / 1000;
105 if(timeout.tv_sec > 1)
106 timeout.tv_sec = 1;
108 timeout.tv_usec = (curl_timeo % 1000) * 1000;
120 rc = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
128 /* timeout or readable/writable sockets */