Add more info about Windns address resolution

This commit is contained in:
hensm
2026-03-01 19:15:48 +00:00
committed by Matt Hensman
parent 47cc57445e
commit 1751cee906

View File

@@ -339,7 +339,9 @@ void WINAPI DnsSdPlatformBrowser::Impl::resolve_callback(
}
}
// Resolve v4/v6 addresses via getaddrinfo
// The v4Address/v6Address fields of DNS_SERVICE_INSTANCE don't seem to be populated
// reliably, but getaddrinfo seems to work consistently in my testing, so we'll just use
// that approach across all platforms.
resolve_addresses(service.host, service.address4, service.address6);
if (impl->is_started) {