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

Getting started #2

Open
AlexisQapa opened this issue Oct 29, 2021 · 0 comments
Open

Getting started #2

AlexisQapa opened this issue Oct 29, 2021 · 0 comments

Comments

@AlexisQapa
Copy link

Hi, I'm trying to get start with this repo and I have a couple questions.

My understanding is that I need to build a server which listens for incoming packets and pass them to dht.receive(message:from:completion) and a channel which can send packets when asked by the dht. Is it right ?

For parsing bytes to KRPCMessage in the server or sending bytes in the channel, should I use BEncoder ?

I could not find any bootstrap method to join the network should I just send a KRPC query ?

Do you have any sample implementation at hand ?

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

1 participant