Home | History | Annotate | Download | only in examples

Lines Matching defs:timeout

92     struct timeval timeout;
107 /* Set a suitable timeout to play around with */
108 timeout.tv_sec = 1;
109 timeout.tv_usec = 0;
113 timeout.tv_sec = curl_timeo / 1000;
114 if(timeout.tv_sec > 1)
115 timeout.tv_sec = 1;
117 timeout.tv_usec = (curl_timeo % 1000) * 1000;
145 /* Note that on some platforms 'timeout' may be modified by select().
147 rc = select(maxfd + 1, &fdread, &fdwrite, &fdexcep, &timeout);
159 case 0: /* timeout */