`getaddrinfo` with `AF_UNSPEC` only returns IPv6 address on Windows
I’m calling getaddrinfo
on Windows to query the IP address(es) of a Mac on my local network using mdns. The Mac has both IPv4 and IPv6 addresses.
I’m calling getaddrinfo
on Windows to query the IP address(es) of a Mac on my local network using mdns. The Mac has both IPv4 and IPv6 addresses.