Feature request: resolve a host name to an IP address
If a machine mylaptop.local. advertises a service My Service._test._tcp.local., then I can:
- browse for all instances of
_test._tcpin.local.and get the host namemylaptop.local.and the IP address as a side-effect (examples/browser.py) - resolve the
My Serviceinstance of_test._tcp.local., and get the host namemylaptop.local.and the IP address (examples: Add an example of resolving a known service by service name #127 adds an example of this)
However, I can't see a straightforward way to ask "what is the address of mylaptop.local.?" through high-level APIs: combining add_listener() and send() seems to be the only way?