Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   General Gnutella Development Discussion (https://www.gnutellaforums.com/general-gnutella-development-discussion/)
-   -   How do the Gnutella clients find another servent's address? (https://www.gnutellaforums.com/general-gnutella-development-discussion/15750-how-do-gnutella-clients-find-another-servents-address.html)

whisla13 September 21st, 2002 12:02 PM

How do the Gnutella clients find another servent's address?
 
How does a Gnutella client find another servent's IP address to connect to? Thanks.

cultiv8r September 25th, 2002 03:23 AM

First connect to a GWebCache (see http://www.zero-g.net/gwebcache for the specs on that). At this point, you should have obtained approx. 10 hosts to try.

When you try these 10 hosts, look for "X-Try" headers in the v0.6 handsdhake, as they contain additional hosts you may want to try.

When you have established a connection, send one Gnutella Ping message with a TTL of 7 (only one per connection/session!!!). You will receive a number of Gnutella Pong messages in return, which contain the IP address of yet more hosts you can try. At that point, just passivly monitor the Pongs that are passed to other hosts through you.

As a side note: I recommend reading up on the Ping/Pong cache schemes at http://groups.yahoo.com/group/the_gdf

-- Mike


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

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

Copyright © 2020 Gnutella Forums.
All Rights Reserved.