Gnutella Forums  

Go Back   Gnutella Forums > Current Gnutella Client Forums > LimeWire+WireShare (Cross-platform) > Open Discussion topics
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

Open Discussion topics Discuss the time of day, whatever you want to. This is the hangout area. If you have LimeWire problems, post them here too.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old May 6th, 2003
Disciple
 
Join Date: November 16th, 2002
Posts: 14
peng is flying high
Default query question

1. if my computer get a query message, how can I know where it comes from? is this possible? it doesn't show in the query definition in the protocol.
2. How can I know the file names the other peers are sharing? The pong message only gives how many files are sharing, but not the names.

Thanks a lot
Reply With Quote
  #2 (permalink)  
Old May 7th, 2003
Devotee
 
Join Date: May 2nd, 2003
Posts: 22
der_schreckliche_sven is flying high
Default

You don't know where it comes from, you only know which ultrapeer transmitted you the query, - and that's where to send the queryReply.
Reply With Quote
  #3 (permalink)  
Old May 7th, 2003
Disciple
 
Join Date: November 16th, 2002
Posts: 14
peng is flying high
Default

How about the second Q? how to know that?
Reply With Quote
  #4 (permalink)  
Old May 7th, 2003
Devotee
 
Join Date: May 2nd, 2003
Posts: 22
der_schreckliche_sven is flying high
Default

All queries have unique GUIDs so you can associate queryHits with the corresponding queries. In addition all clients keep routing-tables mapping the GUIDs to the connections that sent the messages.
Reply With Quote
  #5 (permalink)  
Old May 7th, 2003
Disciple
 
Join Date: November 16th, 2002
Posts: 14
peng is flying high
Default

Quote:
Originally posted by der_schreckliche_sven
All queries have unique GUIDs so you can associate queryHits with the corresponding queries. In addition all clients keep routing-tables mapping the GUIDs to the connections that sent the messages.
What I mean is all the files a particular peer are sharing. I can know the # of files it is sharing from the pong, but not the names. How can I know that?
Reply With Quote
  #6 (permalink)  
Old May 7th, 2003
Devotee
 
Join Date: May 2nd, 2003
Posts: 22
der_schreckliche_sven is flying high
Default

You can either connect via http and request a list of shared files or you can send a query for a keyword.
Reply With Quote
  #7 (permalink)  
Old May 7th, 2003
Disciple
 
Join Date: November 16th, 2002
Posts: 14
peng is flying high
Default

Quote:
Originally posted by der_schreckliche_sven
You can either connect via http and request a list of shared files or you can send a query for a keyword.
How to do this, do you have any referene? any code?
Reply With Quote
  #8 (permalink)  
Old May 7th, 2003
Disciple
 
Join Date: November 16th, 2002
Posts: 14
peng is flying high
Default

Quote:
Originally posted by der_schreckliche_sven
You don't know where it comes from, you only know which ultrapeer transmitted you the query, - and that's where to send the queryReply.
It is also possible that the query comes from its leaf? then how to distinguish if it is from a ultra or a leaf?
Reply With Quote
  #9 (permalink)  
Old May 7th, 2003
Devotee
 
Join Date: May 2nd, 2003
Posts: 22
der_schreckliche_sven is flying high
Default

Quote:
Originally posted by peng
How to do this, do you have any referene? any code?
It's all documented in the files section at http://www.yahoogroups.com/groups/the_gdf and at rfc-gnutella.sf.net
Reply With Quote
  #10 (permalink)  
Old May 7th, 2003
Devotee
 
Join Date: May 2nd, 2003
Posts: 22
der_schreckliche_sven is flying high
Default

Quote:
It is also possible that the query comes from its leaf? then how to distinguish if it is from a ultra or a leaf?
you can't, except if you would mark the GUID. Some vendors put certain information into the GUID but it's not documented.
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
Writing Java client.. how should I implement query/query hits? Tw|st3r General Gnutella Development Discussion 1 December 26th, 2004 11:03 PM
query steve_m_t General Gnutella / Gnutella Network Discussion 1 September 6th, 2004 05:04 PM
query cHEssHire User Experience 3 June 19th, 2002 11:43 AM
Query Unregistered General Gnutella Development Discussion 1 April 20th, 2002 03:24 PM


All times are GMT -7. The time now is 07:10 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.