Replies: 3 comments 1 reply
-
|
Using mDNS would be ideal but |
Beta Was this translation helpful? Give feedback.
-
|
It's better for auto discovery of nickname over peer-id, just as network neighborhood on windows. As you said, maybe hack by custom identity protocol. |
Beta Was this translation helpful? Give feedback.
-
|
In this case, you would need to write your own protocol to track the nickname of a peer. You could also exchange this information through other protocols like request-response, gossipsub, or stream (if you need it to be low-level). You could possibly write a protocol that mimics what identify does when it comes to exchanging information from a peer regarding a nickname and other metadata that would fit your application use-case. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, all
To build a chat program in local network, is there way to discover the nickname of a peer?
use mdns/identity or write a custom protocol?
Beta Was this translation helpful? Give feedback.
All reactions