Hi everybody! Does anybody know the roles of the class UDPListener and of the variables KADEMLIA_FINDBUDDY_RES and KADEMLIA_FINDBUDDY_REQ in the Buddy searching. In particular if we find a client disposed to be our Buddy, what is gonna happen later? Hope you can help me. Peace out fellows
Page 1 of 1
How Does The Buddy Request Work
#2
Posted 11 December 2010 - 06:47 PM
KADEMLIA_FINDBUDDY_REQ is the request, KADEMLIA_FINDBUDDY_RES is the response... if you have specific questions feel free to ask but generally you can use the sourcecode as it's the best documentation.
#3
Posted 14 December 2010 - 03:49 PM
tHeWiZaRdOfDoS, on 11 December 2010 - 06:47 PM, said:
KADEMLIA_FINDBUDDY_REQ is the request, KADEMLIA_FINDBUDDY_RES is the response... if you have specific questions feel free to ask but generally you can use the sourcecode as it's the best documentation.
I'm sorry I'll try to be more specific. I already read the code of some classes, principally KademliaUDPListener UDPFirewallTester. Therefore my question is what is the function assigned to KADEMLIA_FINDBUDDY_REQ and KADEMLIA_FINDBUDDY_RES. In particulare if KADEMLIA_FINDBUDDY_REQ and KADEMLIA_FINDBUDDY_RES are send via UDP (if I'm not mistaken) it would sound odd that only the TCP port is firewalled. Is FINDBUDDY only used to for the Callbacks?
Thanks in advance
Alberto
Page 1 of 1