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 January 28th, 2002
Unregistered
Guest
 
Posts: n/a
Post two quick qestions.....

Hi all,
I am truing to implement a Gnutella client and would appreciate help on the following questions:

1) There are a couple of host caches i found on www.gnutella.co.uk :
gnotella.fileflash.com:6346
connect1.gnutellanet.com:6346
router.limewire.com:6346, provided by LimeWire
public.bearshare.net:6346, provided by FreePeers
connect2.gnutellanet.com:6346
connect3.gnutellanet.com:6346
connect4.gnutellanet.com:6346
gnet2.ath.cx:6346

So how do i get the ip addresses of Gnutella servants from these host addresses. Do i have to connect via TCP/IP and they automatically reply with info regarding the servants?

2) Gnutella has reserved the following ports:
TCP: 6346 - Gnutella (svc)
6347 - Gnutella (rtr)
UDP: 6346 - Gnutella (svc)
6347 - Gnutella (rtr)

What fo svc and rtr stand for. Also, should my servant communicate via UDP, TCP or both. Do servants listen to both these ports and both these protocols?

Thank you in advance.

Munjal
Reply With Quote
  #2 (permalink)  
Old January 28th, 2002
Moak's Avatar
Guest
 
Join Date: September 7th, 2001
Location: Europe
Posts: 816
Moak is flying high
Default

To 1: See article "Hostcache... how do I access them?". A list of current hostcaches is in the sticky thread in this forum.

To 2: Gnutella clients usually use one port (TCP 6346 or any other free port of your choice). Gnutella has no fixed ports, it can handle all incoming connections on one listening socket of your choice.

Have fun coding!
Moak
Reply With Quote
  #3 (permalink)  
Old January 29th, 2002
Connoisseur
 
Join Date: August 9th, 2001
Location: Philadelphia, PA, USA
Posts: 358
cultiv8r is flying high
Default

From a developers view:

You connect to them like any regular Gnutella client (ie., your regular v0.4 or soon v0.6 handshake). Once the handshake was OK, you send out a PING. You'll receive about 10-20 pongs which should automatically be stored in your local host cache. You are disconnected (or disconnect yourself) and start doing your thing. Usually, 10-20 is enough to keep your local host cache running without resorting to any of those sites you mentioned.
Reply With Quote
  #4 (permalink)  
Old January 29th, 2002
Gnutella Veteran
 
Join Date: September 21st, 2001
Posts: 110
gnutellafan is flying high
Default reinventing the wheel?

Just curious, but why are you starting a new client. There is a ton of work to go into todays clients and a skilled programer would be more valuable assisting an existing and mature opensource project.

What type of language do you know?
Reply With Quote
  #5 (permalink)  
Old January 29th, 2002
Novicius
 
Join Date: January 28th, 2002
Posts: 2
Munjal is flying high
Default

Well, I am writing a new client because my thesis advisor wants me to measure the performance of Gnutella. Thus, I need to measure the time taken to search, download etc.
So if you know of any modification of Gnutella doing this already, I would be glad to help with the advancement of Gnutella.

Also, I just bumped across this Java API for Gnutella called Jtella. (Just thought it was worth mentioning!)

Munjal
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
Please help really quick! hawkeye Download/Upload Problems 1 March 6th, 2006 08:13 PM
I need some quick help PLZ.... Kevin_69 Open Discussion topics 3 February 22nd, 2006 07:43 PM
quick eddiehalliwell Download/Upload Problems 1 November 26th, 2005 01:14 AM
need help quick!! Viicksmit New Feature Requests 0 August 1st, 2005 03:34 AM
Hey im new, one quick ? whitetrashxx LimeWire Beta Archives 0 February 2nd, 2004 03:37 PM


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