If a machine mylaptop.local. advertises a service My Service._test._tcp.local., then I can:
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?
If a machine
mylaptop.local.advertises a serviceMy Service._test._tcp.local., then I can:_test._tcpin.local.and get the host namemylaptop.local.and the IP address as a side-effect (examples/browser.py)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: combiningadd_listener()andsend()seems to be the only way?