Friedrich Schöller 0801a67257 Fix server name resolution
When resolving the name of a server, the result was always assumed to
be an IPv4 address, even if an IPv6 address was actually returned.

Use `getaddrinfo` instead of `gethostbyname` and specify that we are
only interested in IPv4 addresses.
2017-05-13 14:21:33 +02:00
..
2013-06-07 02:20:39 +02:00
2013-06-07 02:20:39 +02:00
2013-06-07 02:20:39 +02:00
2013-06-07 02:20:39 +02:00
2013-06-07 02:20:39 +02:00
2016-11-18 15:27:25 +01:00
2013-06-07 02:20:39 +02:00
2013-06-07 02:20:39 +02:00
2013-06-07 02:20:39 +02:00
2017-05-13 14:21:33 +02:00
2017-05-13 14:21:16 +02:00
2017-05-13 14:21:16 +02:00
2013-05-02 03:06:43 +02:00
2013-05-02 03:06:43 +02:00
2013-05-02 03:06:43 +02:00
2013-06-07 02:20:39 +02:00
2013-06-07 02:20:39 +02:00
2013-05-22 02:55:22 +02:00
2013-05-13 13:58:05 +02:00
2013-05-13 13:58:05 +02:00
2013-05-13 13:58:05 +02:00
2013-05-13 13:58:05 +02:00
2013-05-13 13:58:05 +02:00
2013-05-22 02:38:52 +02:00
2016-11-18 15:27:25 +01:00
2013-06-07 02:20:39 +02:00
2013-05-03 22:31:18 +02:00
2013-05-03 22:31:18 +02:00
2013-06-07 02:20:39 +02:00
2013-06-07 02:20:39 +02:00
2013-06-07 02:20:39 +02:00