Expand description
Crate for discovering Holochain peers over MDNS
Works by broadcasting a service named HC_SERVICE_NAME
and adding base64 encoded data in a TXT record
Uses libmdns crate for broadcasting Uses mdns crate for discovery
Structs§
Enums§
Functions§
- Create a thread that will broadcast a holochain service over mdns Returns Sender for sending thread termination command
- Stop thread created by
mdns_create_broadcast_thread()
- Queries the network for the holochain service. Returns an iterator over all responses received.