Crate kitsune_p2p_mdns

Crate kitsune_p2p_mdns 

Source
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§

MdnsResponse

Enums§

MdnsError

Functions§

mdns_create_broadcast_thread
Create a thread that will broadcast a holochain service over mdns Returns Sender for sending thread termination command
mdns_kill_thread
Stop thread created by mdns_create_broadcast_thread()
mdns_listen
Queries the network for the holochain service. Returns an iterator over all responses received.