frawau / aiozeroconf

An asyncio/pure python implementation of multicast DNS service discovery
GNU Lesser General Public License v2.1
24 stars 6 forks source link

more accurately checking request result #7

Closed RouquinBlanc closed 6 years ago

RouquinBlanc commented 6 years ago

When performing a request, it's only interesting to check (and block) waiting for an IPv6 address when AF_INET6 is configured. And the opposite is true for IPv4 only setup.

This will speed up response time when a service only contains v4 (or v6) address and we are in single AF mode