Module libp2p::mdns [−][src]
mDNS is a protocol defined by RFC 6762 that allows querying nodes that correspond to a certain domain name.
In the context of libp2p, the mDNS protocol is used to discover other nodes on the local network that support libp2p.
Usage
This crate provides the Mdns
struct which implements the NetworkBehaviour
trait. This
struct will automatically discover other libp2p nodes on the local network.
Modules
service |
Structs
Mdns | A |
MdnsService | A running service that discovers libp2p peers and responds to other libp2p peers’ queries on the local network. |
Enums
MdnsEvent | Event that can be produced by the |