View Single Post
  #2 (permalink)  
Old May 20th, 2001
Abaris's Avatar
Abaris Abaris is offline
Ringwraith
 
Join Date: May 14th, 2001
Location: Europe
Posts: 86
Abaris is flying high
Post

First Topic: Getting Connected

There are to ways to get connected to the Gnutella Network: Using AutoConnect Servers (like Gnutellahosts.com, router.limewire.com and gnutella.hostscache.com) or using "Discovered Hosts". Most modern Servents use the first approach by default, but do still have the second one implemented.

Using an AutoConnect server, your servent simply sends a message to that server and gets the IP adresses of other users as results. Note that you do not actually connect to the server, it just tells you where to connect. This method will certainly get you connected as long as the autoconnect server is online (and not shut down by greedy associations, i'm sure that earlier or later they will be trying to do this).

While you are connected, a part of your servent called the "Host Catcher" will catch IP adresses of other users. When you got disconnected and try to connect again some time later, the servent can try to reconnect to all of these "Discovered Hosts" and that really works - there will be lots of it who are still connected (or again, if their IP is static). Of course this approach can fail if you were not connected for weeks or months and all of your "Discoverd Hosts" IP addresses are out of date.

Second Topic: The Network Horizon

You know how the Gnutella Network is build: You are connected to, lets say, five hosts. Each of this hosts is connected to five hosts as well and so on ad infinitum. Now when you send a search request, it passes the first five hosts. Having done this, it will be forwarded to the hosts they are connected to (5x5=25), and then they will be forwarded again (5x5x5=125 hosts). Each step your message makes is called a "Hop". Now each of your messages has a "Time to Live (TTL)" which is about 7 by most servents, but there are also servents who let you choose your TTL (LimeWire). After a hop the TTL is decreased by one, that means, your request will pass about seven levels of forwarding (also called "broadcasting"). The servents that your request is able to reach before it dies (that means its TTL has reached 0) is called your "Network Horizon". It depends on your TTL and the number of connections that you and each of your peers have.
Reply With Quote