![]() |
How do servents setup their connection? Hi, I've read a lot of documents describing the gnutella protocol, but what I counld find where the answers to the folowing questions: - How does a servent connect to the network, does it try to make a connection with only one servent or does it try to build up connections with four servents as soon as possible? - When does a servent accept connections? - When and how much times does a servent send a ping? Greetings, Dirk-Jan |
To connect to the network, the first thing you need are IP numbers of servants that are allready connected. To get such numbers, do one of the following: Connect to 'gnutellahosts.com:6346' and send a Gnutella ping. Gnutellahosts.com will pong back with 10 IP addresses and then disconnect. or Fetch and parse the file at 'http://www.clip2.com/gnutellahosts.txt'This file contains 10 addresses. i've never tryed any of those things, i just got that info. from this page 'http://dss.clip2.com/hls.html' Once you got an IP number, make a connection. I am not such how to do that, but this guy wrote this on a other post. "GNUTELLA CONNECT/0.4/n/n" so try sending that to a gnutella servant and see what happens. You have to decide how many conections to keep open. Some programs i've used let the used type in how many conncetions they want. when does a servant accept conncections? Always unless you got a reason to refuse like if you already have enough. 'http://www.limewire.com/developer/pings.htm' that site will give you lots of info. on sending pings. |
All times are GMT -7. The time now is 09:30 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.