Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Listen to a port if change happens (for example if one peer puts some data into the DHT) #75

Closed
kuabhish opened this issue Dec 28, 2019 · 1 comment

Comments

@kuabhish
Copy link

I used the code to start the server(first node, in port 8580) and to bootstrap other node(5678) with it.
Then I tried to put some string into the DHT with a KEY.
Then i tried to obtain the key value.

But i am curious to know how to inform the other nodes that some change has occured??

@bmuller
Copy link
Owner

bmuller commented Dec 28, 2019

@kuabhish If you have any questions, please feel free to email me at the address on my profile (github issues are for bugs).

It sounds like you're asking about pubsub support, and Kademlia doesn't describe such a feature. This is a DHT, used for storing data. There's no messaging aside from that which is necessary to handle storage and access of data.

@bmuller bmuller closed this as completed Dec 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants