Gnutella Forums  

Go Back   Gnutella Forums > Gnutella News and Gnutelliums Forums > General Gnutella Development Discussion
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

General Gnutella Development Discussion For general discussion about Gnutella development.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old July 10th, 2008
Novicius
 
Join Date: July 10th, 2008
Posts: 3
robegs is flying high
Default Somebody has a Jtella example?

I'm programming an aplications based on JTella, but I have some problems to connect the peers because JTella launch a exception:

java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start(Native Method)
at com.kenmccrary.jtella.util.SocketFactory.getSocket (SocketFactory.java:28)
at com.kenmccrary.jtella.Connection.startOutgoingConn ection(Connection.java:372)
at com.kenmccrary.jtella.OutgoingConnectionManager$Co nnectionStarter.run(OutgoingConnectionManager.java :227)


if I try to connect a lot of times and if I try to connect few times the peers not contects.
I need a complete example of a JTella aplication.

Thanks and sorry for my bad english.
Reply With Quote
  #2 (permalink)  
Old July 11th, 2008
arne_bab's Avatar
Draketo, small dragon.
 
Join Date: May 31st, 2002
Location: Heidelberg, Germany
Posts: 1,881
arne_bab is a great assister to others; your light through the dark tunnel
Default

As far as I know, JTella is very outdated, now.

To have a client which offers most features of todays Gnutella you could build on Phex instead:
- http://sf.net/project/phex
- Phex - Home

Using Phex you'll also be able to find people who use it and can offer help.
__________________

-> put this banner into your own signature! <-
--
Erst im Spiel lebt der Mensch.
Nur ludantaj homoj vivas.
GnuFU.net - Gnutella For Users
Draketo.de - Shortstories, Poems, Music and strange Ideas.
Reply With Quote
  #3 (permalink)  
Old July 11th, 2008
Novicius
 
Join Date: July 10th, 2008
Posts: 3
robegs is flying high
Default

phex seens very difficult. My aplication only need do querys and get request. The Gnutella part is very Simple and the net must be private. There are some simple example of phex aplications??
Reply With Quote
  #4 (permalink)  
Old July 11th, 2008
arne_bab's Avatar
Draketo, small dragon.
 
Join Date: May 31st, 2002
Location: Heidelberg, Germany
Posts: 1,881
arne_bab is a great assister to others; your light through the dark tunnel
Default

Not yet.

To make the net private, just choose a different network name in Phex.

Please have a look at the phex Search class to see if you grasp it.

https://phex.svn.sourceforge.net/svn...ry/Search.java

You can get the whole code via subversion:

svn co https://phex.svn.sourceforge.net/svn...ex/phex/trunk/
__________________

-> put this banner into your own signature! <-
--
Erst im Spiel lebt der Mensch.
Nur ludantaj homoj vivas.
GnuFU.net - Gnutella For Users
Draketo.de - Shortstories, Poems, Music and strange Ideas.
Reply With Quote
  #5 (permalink)  
Old July 11th, 2008
Novicius
 
Join Date: July 10th, 2008
Posts: 3
robegs is flying high
Default

I'm seeing the https://phex.svn.sourceforge.net/svn...phex/Main.java class, but I don't know if in this it is completely finished the configuration process, and with this I can do a query yet.

thanks for your help, I'm a noob with this.
Reply With Quote
  #6 (permalink)  
Old July 11th, 2008
arne_bab's Avatar
Draketo, small dragon.
 
Join Date: May 31st, 2002
Location: Heidelberg, Germany
Posts: 1,881
arne_bab is a great assister to others; your light through the dark tunnel
Default

I'm glad to see that it already partly works.

Please head over to the Phex Development Board to get more advanced feekback:

Development Open Discussion - Gnutella Forums
__________________

-> put this banner into your own signature! <-
--
Erst im Spiel lebt der Mensch.
Nur ludantaj homoj vivas.
GnuFU.net - Gnutella For Users
Draketo.de - Shortstories, Poems, Music and strange Ideas.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 06:56 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.