Skip to content

Getting started #2

Description

@AlexisQapa

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 ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions