JMule project forum

JMule - Java file sharing client
 

It is currently Fri Mar 24, 2017 4:00 pm

Your Ad Here


Post new topic Reply to topic  [ 28 posts ]  Go to page 1, 2, 3  Next
Author Message
Offline
 Post subject: Kademlia
PostPosted: Tue Oct 21, 2008 6:02 pm 
JMule staff member
JMule staff member
 WWW  Profile

Joined: Fri Jul 11, 2008 4:34 pm
Posts: 43
Started to work on DHT, it should be compatible with Kad implemented by eMule, the starting points are :
* http://xlattice.sourceforge.net/compone ... specs.html
* http://www.thomas.ambus.dk/plan-x/routing/
* eMule source code

Any help/ideas/comments will be greatly appreciated


Top
 

Offline
 Post subject: Re: Kademlia
PostPosted: Tue Jan 13, 2009 3:13 pm 
 Profile

Joined: Tue Jan 13, 2009 3:03 pm
Posts: 1
Hi!

Thanks for this work guys! I have been waiting for some similar project for a long time.

Is this project based on old jdonkey?
How can I help you?
Who make the design decisions?
How I can send code patches?

I have to spent a few hours trying to understand your code? Can I try to write de comments for javadoc?


Top
 

Offline
 Post subject: Re: Kademlia
PostPosted: Tue Jan 13, 2009 7:14 pm 
JMule staff member
JMule staff member
 WWW  Profile

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

>Is this project based on old jdonkey?
No, this project has some code from old jmule project, but the system core/design is written from scratch

>How can I help you?
I don't know, you should try to find and fix bugs, advise new ideas, etc. For now our development priorities are focused on kad and network infrastructure.

>Who make the design decisions?
Anybody with sufficient knowledge, someone who can accomplish the projects goals http://jmule.org/?page=goals , but the final decisions are made by the core developers, if you have something interesting: code/ideas/comments... send them to us : jmule [at] jmule [dot] org

>Can I try to write de comments for javadoc?
Yes, of course


Top
 

Offline
 Post subject: JKad screenshots
PostPosted: Sun Jun 28, 2009 5:20 pm 
JMule staff member
JMule staff member
User avatar
 Profile

Joined: Fri Jul 11, 2008 4:10 pm
Posts: 33
JKad screenshots :
Image Image


Top
 

Offline
 Post subject: Re: Kademlia
PostPosted: Wed May 26, 2010 6:03 am 
 Profile

Joined: Wed May 26, 2010 5:57 am
Posts: 7
HI!

I'm leaning about DHT and i interest Kademlia but when i try to search key word in jKad it return negative value in source count and file size.what's it mean?

thank for reply


Top
 

Offline
 Post subject: Re: Kademlia
PostPosted: Wed May 26, 2010 6:32 am 
JMule staff member
JMule staff member
User avatar
 Profile

Joined: Fri Jul 11, 2008 4:10 pm
Posts: 33
Quote:
jKad it return negative value in source count and file size.what's it mean?

Maybe value is too big, try to convert into long.


Top
 

Offline
 Post subject: How i can put file id to store in JKAD?
PostPosted: Mon Aug 09, 2010 4:59 am 
 Profile

Joined: Wed May 26, 2010 5:57 am
Posts: 7
How I can put file id to store in JKAD?
I use
Code:
List<Tag> tagList = new ArrayList<Tag>();
Publisher.getInstance().publishSource(fileID, tagList);


correct or not!


Top
 

Offline
 Post subject: Re: Kademlia
PostPosted: Mon Aug 09, 2010 11:35 am 
JMule staff member
JMule staff member
User avatar
 Profile

Joined: Fri Jul 11, 2008 4:10 pm
Posts: 33
Tag list must contain metadata about file : name, size, bitrate etc.

For more information consult publisher's src : http://jmule.cvs.sourceforge.net/viewvc ... iew=markup


Top
 

Offline
 Post subject: Re: Kademlia
PostPosted: Sat Aug 14, 2010 4:26 pm 
 Profile

Joined: Wed May 26, 2010 5:57 am
Posts: 7
I try put source with
Code:
public void store(SharedFile file) {
        Publisher publisher = Publisher.getInstance();
        if (!publisher.isPublishingSource(file.getFileID())) {
            List<Tag> tagList = new LinkedList<Tag>();
            tagList.add(new StringTag(TAG_FILENAME, file.getfileName()));
            tagList.add(new IntTag(TAG_FILESIZE, (int) file.getfileSize()));
            tagList.add(new IntTag(TAG_SOURCEIP,
                    kad.utils.Convert.byteToInt(getIPAddress().getAddress())));
            tagList.add(new IntTag(TAG_SOURCEPORT,
                    ConfigManager.getSingleton().HTTP_PORT));
            publisher.publishSource(file.getFileID(), tagList);
        }
    }

    public IPAddress getIPAddress() {
        System.out.println("My IP: "+firewallChecker.getMyIPAddress().toString());
        return firewallChecker.getMyIPAddress();
    }

but my result is
Code:
My IP:0.0.0.0

I'm sure that I connect with real IP address.
I don't know how to fix this.Please help! More detail.


Top
 

Offline
 Post subject: Re: Kademlia
PostPosted: Sat Aug 14, 2010 4:59 pm 
JMule staff member
JMule staff member
User avatar
 Profile

Joined: Fri Jul 11, 2008 4:10 pm
Posts: 33
To start publishing JKad must be connected ( jkad.isConnected() must return true )


Top
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 28 posts ]  Go to page 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