#p2p #networking

libp2p-mdns-ouro

Implementation of the libp2p mDNS discovery method

1 unstable release

0.31.1 Nov 17, 2023

#56 in #peer-to-peer

24 downloads per month
Used in p2p-net-oura

MIT license

46KB
841 lines

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.

Dependencies

~12–25MB
~432K SLoC