On 09/05/2017 06:05 PM, Åukasz Stelmach wrote: > + ret = getaddrinfo(addr, NULL, &hints, &res); That makes me rather nervous due to the potential for recursion. Can we factor out the AI_NUMERICHOST code into a separate function instead? Thanks, Florian