Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   General Gnutella Development Discussion (https://www.gnutellaforums.com/general-gnutella-development-discussion/)
-   -   Maintain a connection to gnutella (https://www.gnutellaforums.com/general-gnutella-development-discussion/25286-maintain-connection-gnutella.html)

davestum April 28th, 2004 08:25 AM

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

trap_jaw4 April 28th, 2004 08:32 AM

You will find all the answers you need here:

http://rfc-gnutella.sf.net

davestum April 28th, 2004 08:36 AM

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

cheers

arne_bab April 28th, 2004 05:03 PM

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.

davestum May 2nd, 2004 09:21 AM

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

arne_bab May 2nd, 2004 03:16 PM

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


All times are GMT -7. The time now is 11:03 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.