Lines Matching refs:timeout
148 struct timeval timeout;
162 /* set a suitable timeout to play around with */
163 timeout.tv_sec = 1;
164 timeout.tv_usec = 0;
168 timeout.tv_sec = curl_timeo / 1000;
169 if(timeout.tv_sec > 1)
170 timeout.tv_sec = 1;
172 timeout.tv_usec = (curl_timeo % 1000) * 1000;
184 rc = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
194 /* timeout or readable/writable sockets */