R
R
Rostislav2017-05-19 10:47:52
Java
Rostislav, 2017-05-19 10:47:52

How to send/receive data in TomP2P/Hive2Hive DHT between android nodes?

I ask experienced specialists to help understand the use of one library (the fragments I need are undocumented).
Library - github.com/Hive2Hive

I already set up a bootstrap node on my desktop computer with a public ip and forwarded ports, also I tested the connection on two android devices on different networks. Registration and login works. I have already configured bootstrap node on my desktop computer with public ip and forwarded ports, also I have tested connection on two android devices in different networks. Registration and login works, but I can't implement data transfer. I'm trying to get the public key from the user id or its Locations object, but the network always returns null. On the other hand, the network returns the correct result when I try to register with existing data.

Help is needed especially in understanding such things: are all the objects returned by NetworkManager purely local? How to get the user's address, knowing his id?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
ChronosX, 2019-04-16
@ChronosX

It's better to use regular TomP2P . Hive2Hive has a slightly different purpose.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question