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 ?
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 ?