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 November 18th, 2001
Unregistered
Guest
 
Posts: n/a
Question Query Hit message forwarding rules...

from the document at:

http://www9.limewire.com/developer/g...otocol_0.4.pdf

2. QueryHit descriptors may only be sent along the same path that carried the incoming
Query descriptor. This ensures that only those servents that routed the Query
descriptor will see the QueryHit descriptor in response. A servent that receives a
QueryHit descriptor with Descriptor ID = n, but has not seen a Query descriptor with
Descriptor ID = n should remove the QueryHit descriptor from the network.

and

6. A servent receiving a descriptor with the same Payload Descriptor and Descriptor ID as
one it has received before, should attempt to avoid forwarding the descriptor to any
connected servent. Its intended recipients have already received such a descriptor, and
sending it again merely wastes network bandwidth.

I see this causing a problem, assuming that a Query Hit message uses the same Descriptor ID as the Query message it is responding to, since I don't see any other place in the Query Hit message for the Query's Descriptor ID, what happens if two different servers want to respond using the same intermediate connection?

as an example, A, B, and C, are all connected to D.

A querys D
D forwards that query to B and C
B responds to D
D passes that reply back to A

then...

C responds to D

and then D discards the message?

or does D send it on to A?

some clarification would be useful for us would-be client developers.
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
Query Hit message smb General Gnutella Development Discussion 3 March 1st, 2007 06:26 AM
Playing with the rules arne_bab General Discussion 4 August 9th, 2006 07:39 PM
Writing Java client.. how should I implement query/query hits? Tw|st3r General Gnutella Development Discussion 1 December 26th, 2004 10:03 PM
LW 1.7 RULES my Mac Rhohl General Mac Support 2 April 17th, 2002 10:13 AM


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