JMule project forum

JMule - Java file sharing client
 

It is currently Mon Jun 26, 2017 10:16 am

Your Ad Here


Post new topic Reply to topic  [ 28 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
Offline
 Post subject: Re: Kademlia
PostPosted: Sun Aug 15, 2010 5:41 am 
 Profile

Joined: Wed May 26, 2010 5:57 am
Posts: 7
I check that but It doesn't work. I use jkad-alpha-0.1 .How i can get a stable version?


Top
 

Offline
 Post subject: Re: Kademlia
PostPosted: Sun Aug 15, 2010 5:44 am 
JMule staff member
JMule staff member
User avatar
 Profile

Joined: Fri Jul 11, 2008 4:10 pm
Posts: 33
Checkout from CVS :
http://jmule.org/?page=cvs

module jmule2


Top
 

Offline
 Post subject: Re: Kademlia
PostPosted: Sun Aug 15, 2010 8:45 am 
 Profile

Joined: Wed May 26, 2010 5:57 am
Posts: 7
how I can put bootstrap node in node.dat manually.I will put all computer in my network to split my network from edonkey network;


Top
 

Offline
 Post subject: Re: Kademlia
PostPosted: Sun Aug 15, 2010 9:03 am 
JMule staff member
JMule staff member
User avatar
 Profile

Joined: Fri Jul 11, 2008 4:10 pm
Posts: 33
You may use org.jmule.core.jkad.routingtable.NodesDat, to work with KadContact JKad must be started.


Top
 

Offline
 Post subject: Re: Kademlia
PostPosted: Wed May 18, 2011 11:16 am 
 Profile

Joined: Wed May 18, 2011 8:40 am
Posts: 7
Hi,

whats the current state of the kad implementation? And how can I use it? What is the best starting point to use your kad implementation programmatically? The CVS sources of JMule or this one http://jmule.org/files/jkad-alpha-0.1.tar.gz?

A lot of questions :)


Top
 

Offline
 Post subject: Re: Kademlia
PostPosted: Sat May 21, 2011 7:52 pm 
JMule staff member
JMule staff member
 WWW  Profile

Joined: Fri Jul 11, 2008 4:34 pm
Posts: 43
Hello,

>> whats the current state of the kad implementation?
Fully implemented

>> And how can I use it?
Learn from the source code

>> What is the best starting point to use your kad implementation programmatically?
This is the root package of kad implementation : http://jmule.cvs.sourceforge.net/viewvc ... core/jkad/

>> jkad-alpha-0.1.tar.gz
This is a very old experimental kad implementation, it had a role something like a POC(proof of concept)

-javajox, JMule developer


Top
 

Offline
 Post subject: Re: Kademlia
PostPosted: Mon May 23, 2011 9:00 am 
 Profile

Joined: Wed May 18, 2011 8:40 am
Posts: 7
Thanks for your reply.

Is there also a little GUI like in the POC package to play around on the implementation or some unit tests to see how to use it (didn't find junit tests for the kad part)?


Top
 

Offline
 Post subject: Re: Kademlia
PostPosted: Mon May 23, 2011 9:38 am 
JMule staff member
JMule staff member
 WWW  Profile

Joined: Fri Jul 11, 2008 4:34 pm
Posts: 43
We do not covered with unit tests our kad implementation yet. JMule has a tab called "Kad", you may consider this the GUI wrapper for code from org.jmule.core.jkad. If you look through the code from org.jmule.ui you will find method invocations to jkad.


Top
 

Offline
 Post subject: Re: Kademlia
PostPosted: Mon May 23, 2011 9:49 am 
 Profile

Joined: Wed May 18, 2011 8:40 am
Posts: 7
Thanks again. This will be very helpfull.

One, possibly last, question. Which kind of tags from the org.jmule.core.edonkey.packet.tag package are allowed in kad messages? And what exactly is a BSOB (Binary Small Object?)?


Top
 

Offline
 Post subject: Re: Kademlia
PostPosted: Mon May 23, 2011 5:13 pm 
JMule staff member
JMule staff member
 WWW  Profile

Joined: Fri Jul 11, 2008 4:34 pm
Posts: 43
>> One, possibly last, question
Not one but two questions :)

>> Which kind of tags from the org.jmule.core.edonkey.packet.tag package are allowed in kad messages?
Any tag from that package can be used in kad messages

>> And what exactly is a BSOB (Binary Small Object?)?
This is a special kad tag used to transport binary objects. Currently it is not used, related to this subject we found this in emule source code (you could find it in kademlia\io\DataIO.cpp(223)):
// NOTE: This tag data type is accepted and stored only to give us the possibility to upgrade
// the net in some months.
//
// And still.. it doesnt't work this way without breaking backward compatibility
case TAGTYPE_BSOB:


Top
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 28 posts ]  Go to page Previous  1, 2, 3  Next


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Contact : jmule [at] jmule.org
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group