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 April 28th, 2004
Novicius
 
Join Date: April 28th, 2004
Posts: 3
davestum is flying high
Default Maintain a connection to gnutella

I am building an appication which will participate in the gnutella network. My first goal is for it to maintain a constant connection to gnutella, like how limewire does.

How does limewire do this, and more importantly, how can i do this??

thankyou
Reply With Quote
  #2 (permalink)  
Old April 28th, 2004
Moderator
 
Join Date: May 16th, 2003
Posts: 1,118
trap_jaw4 is flying high
Default

You will find all the answers you need here:

http://rfc-gnutella.sf.net
Reply With Quote
  #3 (permalink)  
Old April 28th, 2004
Novicius
 
Join Date: April 28th, 2004
Posts: 3
davestum is flying high
Default

Sorry I am quite dumb, where in this link is the info about maintaining a connection??

cheers
Reply With Quote
  #4 (permalink)  
Old April 28th, 2004
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

Look at developer, then version 0.6 (testing).

There you'll find most of which you need.

Some background is also avaible at http://gnufu.net - Gnutella For Users. No Code, just background information on the protocol and its changes.
__________________

-> 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 May 2nd, 2004
Novicius
 
Join Date: April 28th, 2004
Posts: 3
davestum is flying high
Default

i know how to connect, the thing is, its very rare that i get a 200 ok message, so i am wondering how programs such as limewire managed to get so many connections, and how they maintain them
Reply With Quote
  #6 (permalink)  
Old May 2nd, 2004
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

They record additional stats about the hosts and always try to connect to those first, which are listed as best hosts.

Examples you might want to use:
-Uptime
-Number of answers received for a query on average (for the last 10 connections or so, because this can change)
-time connected (for the last 10 connections or so)
-number of successful connections
-number of connected hosts
-connection latency (how long it takes to react)
-the region it is from (limewire now can prefer hosts from your own country)


Other things:
-announce what you are sharing. If you are sharing nothing you might have a hard time to connect, see the "allow freeloaders" option (though this code changes quite often).
__________________

-> 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to add gnutella connection? manta Open Discussion topics 1 July 22nd, 2005 06:51 AM
Maintain Sorts!!!! jerrodho New Feature Requests 3 November 11th, 2002 08:45 PM
I can not maintain connections Unregistered Gtk-Gnutella (Linux/Unix/Mac OSX/Windows) 2 October 9th, 2002 06:29 AM
unable to maintain transfer rate- Unregistered Download/Upload Problems 1 September 30th, 2002 12:17 AM
can't maintain any large download keift General Gnutella / Gnutella Network Discussion 3 March 15th, 2001 10:37 AM


All times are GMT -7. The time now is 02:08 AM.


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.