Home | History | Annotate | Download | only in examples

Lines Matching defs:timeout

219     struct timeval timeout;
234 /* set a suitable timeout to play around with */
235 timeout.tv_sec = 1;
236 timeout.tv_usec = 0;
240 timeout.tv_sec = curl_timeo / 1000;
241 if(timeout.tv_sec > 1)
242 timeout.tv_sec = 1;
244 timeout.tv_usec = (curl_timeo % 1000) * 1000;
272 /* Note that on some platforms 'timeout' may be modified by select().
274 rc = select(maxfd + 1, &fdread, &fdwrite, &fdexcep, &timeout);
283 /* timeout or readable/writable sockets */