Am Thu, 07 Nov 2019 15:44:27 +0100 schrieb Vitaly Kuznetsov : > I *think* what you're aiming at is EAI_AGAIN and EAI_FAIL, the rest > should probably terminate the resolver thread (e.g. AF_INET is > unsupported or something like that). The thread aims for success. Resolving of the hostname can take some time. Maybe the network is not fully functional when the thread starts. Maybe the VM admin does further tweaks while the thread is running. IMO there is no downside to wait for success. Olaf