Skip to main content

Module mdns

Module mdns 

Source

Structs§

Advert
One service instance a responder answers for.
Found
One instance a lookup found. address is where its answer came from, which on a LAN is the address the device is reachable at.
Responder
Answers queries for Adverts until dropped.

Enums§

Net
Where lookups are sent and where a responder listens.

Constants§

LOOKUP_WINDOW
How long a lookup collects answers; responders on a LAN answer within milliseconds, and the query is sent twice in case one is lost.
PAIR_SERVICE
An open sb pair listener, its port in the SRV record.
SERVICE
Every device with an sshd advertises this, its machine id and ssh login in the TXT record and its sshd port in the SRV record.
TXT_ID
TXT_LOGIN

Functions§

browse
The instances of service found within window, each at an address on the local network.
device_advert
pairing_advert

Type Aliases§

Adverts
Read on every query that names one of our services, instances or hosts, or each second on macOS, where the system’s DNS-SD service answers, so adverts stay current without being pushed.