Home | History | Annotate | Download | only in examples

Lines Matching defs:timeout

78     struct timeval timeout;
93 /* set a suitable timeout to play around with */
94 timeout.tv_sec = 1;
95 timeout.tv_usec = 0;
99 timeout.tv_sec = curl_timeo / 1000;
100 if(timeout.tv_sec > 1)
101 timeout.tv_sec = 1;
103 timeout.tv_usec = (curl_timeo % 1000) * 1000;
131 /* Note that on some platforms 'timeout' may be modified by select().
133 rc = select(maxfd + 1, &fdread, &fdwrite, &fdexcep, &timeout);
140 case 0: /* timeout */