Lines Matching refs:timeout
82 * Do an async connect or blocking connect depending on the timeout
84 * Otherwise wait for timeout milliseconds for the connection.
88 do_connect(int s, struct sockaddr *sin, int timeout)
104 if (timeout <= LDAP_X_IO_TIMEOUT_NO_TIMEOUT) {
107 /* set the timeout to the specified value */
108 waittime.tv_sec = timeout / MILLISEC;
109 waittime.tv_usec = (timeout % MILLISEC) * 1000;
135 int port, int async, int timeout)
198 if (do_connect(s, (struct sockaddr *)&sin, timeout) == 0) {
459 do_ldap_select( LDAP *ld, struct timeval *timeout )
473 if ( timeout ) {
474 tim = (timeout->tv_sec*1000)+(timeout->tv_usec/1000);
583 do_ldap_select( LDAP *ld, struct timeval *timeout )
609 NULL, timeout ));