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

announce and lookup #3

Open
resession opened this issue Mar 15, 2022 · 2 comments
Open

announce and lookup #3

resession opened this issue Mar 15, 2022 · 2 comments

Comments

@resession
Copy link

resession commented Mar 15, 2022

is an announce and lookup feature in the roadmap? like the bittorrent mainline dht, announce('someString') which will announce to the network and add this node's ip and port under this 'someString' and then other nodes can do lookup('someString') and then find all the nodes(their ip and port) listed under that 'someString'. or is this kind of functionality already implemented right now?

@Nephys
Copy link
Owner

Nephys commented Mar 31, 2022

I may implement a "group" system for nodes later.

You can also specify a custom ID like "mynode" in the node constructor so when looking for "mynode" it will be found, this should only return a single node though.

I'm really busy with work right now so the group feature may be implemented later.

@resession
Copy link
Author

understandable, i will keep this package/project in mind. i find the concept of dht very interesting.

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