ws2_32/tests: Test getaddrinfo() for IPv6 DNS querying.
commit6bdf3a6ba7c169e5d2e21f7d79bc798fb6e28c28
authorZiqing Hui <zhui@codeweavers.com>
Mon, 21 Mar 2022 09:05:54 +0000 (21 17:05 +0800)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 22 Mar 2022 09:24:42 +0000 (22 10:24 +0100)
tree99a4cce19a15e2c568efe70c29b8c59a7d3b8f76
parent010315571e6371821b793f92f5162e2cc6921497
ws2_32/tests: Test getaddrinfo() for IPv6 DNS querying.

The tests show that if we don't have a global IPv6 address, getaddrinfo()
will not return IPv6 results. Specifing AF_UNSPEC makes it return IPv4 results.

Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/ws2_32/tests/protocol.c