-
|
In short: I am coming from using swarm-discovery (https://github.com/rkuhn/swarm-discovery) before directly and used attributes to distribute data. Later I came across iroh and thought, oh it says it offers more, easier out of the box. I guess it is not working out of the box with mDNS, and reading this example makes me think, I might need to handle something still on my own? An Gossip example with mDNS (LAN) only would be nice. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
When you say "I tried to use Gossip with mDNS Lookup", I assume you're referring to trying to use |
Beta Was this translation helpful? Give feedback.
Today I found something that seems to show what needs to be done.
It uses an old iroh version 0.35, but I migrated it to current 0.98.
It confirms for me that it is not working out of the box and needs to add custom handlers for peers:
https://github.com/therishidesai/iroh-gossip-discovery
update:
have it now working fully automated using mDNS broadcasts:
https://github.com/cocoon/iroh-gossip-discovery/blob/iroh_0.98/examples/address_book_demo.rs