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 March 4th, 2010
arne_bab's Avatar
Draketo, small dragon.
 
Join Date: May 31st, 2002
Location: Heidelberg, Germany
Posts: 1,881
arne_bab is a great assister to others; your light through the dark tunnel
Default

Quote:
Originally Posted by hustnn
If I was not the first time to connect gnutella network,so it should use the local host cache lists to bootstrap, isn't it?

But Do you need to do something to maintain the local host lists?
Yep to both: you get addresses via pongs and can also use the ones from hosts you download from.

For an example see
SourceForge.net Repository - [phex] View of /phex/trunk/src/main/java/phex/host/CaughtHostComparator.java
(it shows how hosts are sorted to keep the best ones in the host catcher - this is executed extremely often!)
__________________

-> put this banner into your own signature! <-
--
Erst im Spiel lebt der Mensch.
Nur ludantaj homoj vivas.
GnuFU.net - Gnutella For Users
Draketo.de - Shortstories, Poems, Music and strange Ideas.
Reply With Quote
  #2 (permalink)  
Old March 4th, 2010
Devotee
 
Join Date: December 21st, 2009
Posts: 29
hustnn is flying high
Default

Then if we want to maintain the lists,such as to check if one host is still active,then do you use the ping/pong to check it?

But I still don't understand the ping/pong affection to the gnutella network.I think there are many ways should using the ping/pong,for eample "keep alive","gain host list",but when and how to use it,such as how and when to gain host addresses by ping/pong ? I can't find some introduce about this.

I see there are a few ways to gain the host lists,such as the x-try,x-untlrapeer-try when handshakeing,the pong is just one of these ways to gain the hosts list to connect to,is it right?So the host cache lists should be gained from all there ways.

Last edited by hustnn; March 4th, 2010 at 05:58 PM.
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



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