Lines Matching refs:timeout
63 struct timeval timeout;
77 /* set a suitable timeout to play around with */
78 timeout.tv_sec = 1;
79 timeout.tv_usec = 0;
83 timeout.tv_sec = curl_timeo / 1000;
84 if(timeout.tv_sec > 1)
85 timeout.tv_sec = 1;
87 timeout.tv_usec = (curl_timeo % 1000) * 1000;
99 rc = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
107 /* timeout or readable/writable sockets */