diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2024-03-22 15:34:29 +0100 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2024-03-22 15:34:29 +0100 |
commit | 8d2c1b4ce68608251860bc9a7c5b6f5762110dd1 (patch) | |
tree | e11b8494a35df9e922331e84cbb41d5fb8d522d2 /.appveyor.yml | |
parent | 290843bbdab6853fff6ba4105c8faac43c621430 (diff) | |
download | newlib-8d2c1b4ce68608251860bc9a7c5b6f5762110dd1.zip newlib-8d2c1b4ce68608251860bc9a7c5b6f5762110dd1.tar.gz newlib-8d2c1b4ce68608251860bc9a7c5b6f5762110dd1.tar.bz2 |
Cygwin: //server: check existence of server with getaddrinfo
Checking server existence by trying to enumerate its shares
may result in 2 minutes delay until some internal timeout is hit.
In the light that every network is an IP network anyway these
days, let's try with a simple getaddrinfo() call. This is usually
back in 3 secs even if the server doesn't exist, and it's usually
back in 8 secs if the DNS server can't be connected. This is the
fastest method I found to check server existence yet.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to '.appveyor.yml')
0 files changed, 0 insertions, 0 deletions