version 1.107, 2019/11/18 04:37:35 |
version 1.108, 2022/09/15 12:47:10 |
|
|
} |
} |
} |
} |
#endif /* !SMALL */ |
#endif /* !SMALL */ |
for (error = connect(s, res->ai_addr, res->ai_addrlen); |
error = timed_connect(s, res->ai_addr, res->ai_addrlen, |
error != 0 && errno == EINTR; error = connect_wait(s)) |
connect_timeout); |
continue; |
|
if (error != 0) { |
if (error != 0) { |
/* this "if" clause is to prevent print warning twice */ |
/* this "if" clause is to prevent print warning twice */ |
if (verbose && res->ai_next) { |
if (verbose && res->ai_next) { |
|
|
} else |
} else |
goto bad; |
goto bad; |
|
|
for (error = connect(data, &data_addr.sa, data_addr.sa.sa_len); |
error = timed_connect(data, &data_addr.sa, data_addr.sa.sa_len, |
error != 0 && errno == EINTR; |
connect_timeout); |
error = connect_wait(data)) |
|
continue; |
|
if (error != 0) { |
if (error != 0) { |
if (activefallback) { |
if (activefallback) { |
(void)close(data); |
(void)close(data); |