Use getaddrinfo() instead of gethostbyname() in socket.c.
authorAndrej Kacian <ticho@claws-mail.org>
Wed, 1 Oct 2014 20:00:06 +0000 (22:00 +0200)
committerAndrej Kacian <ticho@claws-mail.org>
Thu, 20 Aug 2015 06:28:22 +0000 (08:28 +0200)
commit8f4236e282d3252ecf9f3920e2e5c312d2cf50fc
treeb9f00f35e86568dfd08be1f48b8b51998578a491
parent1b32cc6794190c9fb6124b6de5b6f23e3007eec9
Use getaddrinfo() instead of gethostbyname() in socket.c.

Closes bug #3253, as we're trying all resolved addresses.
This should also make IPv6 work on Windows, bug #3495.
src/common/socket.c
src/common/socket.h
src/common/utils.c