JMule project forum http://forum.jmule.org/ |
|
Kademlia http://forum.jmule.org/viewtopic.php?f=7&t=15 |
Page 1 of 3 |
Author: | javajox [ Tue Oct 21, 2008 6:02 pm ] |
Post subject: | Kademlia |
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 |
Author: | Kmachine [ Tue Jan 13, 2009 3:13 pm ] |
Post subject: | Re: Kademlia |
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? |
Author: | javajox [ Tue Jan 13, 2009 7:14 pm ] |
Post subject: | Re: Kademlia |
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 |
Author: | binary256 [ Sun Jun 28, 2009 5:20 pm ] |
Post subject: | JKad screenshots |
JKad screenshots : ![]() ![]() |
Author: | artiya4u [ Wed May 26, 2010 6:03 am ] |
Post subject: | Re: Kademlia |
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 |
Author: | binary256 [ Wed May 26, 2010 6:32 am ] |
Post subject: | Re: Kademlia |
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. |
Author: | artiya4u [ Mon Aug 09, 2010 4:59 am ] |
Post subject: | How i can put file id to store in JKAD? |
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! |
Author: | binary256 [ Mon Aug 09, 2010 11:35 am ] |
Post subject: | Re: Kademlia |
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 |
Author: | artiya4u [ Sat Aug 14, 2010 4:26 pm ] |
Post subject: | Re: Kademlia |
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. |
Author: | binary256 [ Sat Aug 14, 2010 4:59 pm ] |
Post subject: | Re: Kademlia |
To start publishing JKad must be connected ( jkad.isConnected() must return true ) |
Page 1 of 3 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |