![]() |
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 |
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. |
How about the second Q? how to know that? |
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. |
Quote:
|
You can either connect via http and request a list of shared files or you can send a query for a keyword. |
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
If you read the HTTP protocol you will see, that HTTP does not have a standard port. |
Quote:
|
You always have to know the URL in advance, before making the HTTP connection. How you learned of that URL does not really matter and is not covered by the HTTP specs. |
Quote:
|
Read the GDF protocol documents: http://groups.yahoo.com/group/the_gdf/files/ Or read the code: http://www.limewire.org Thanks -greg |
All times are GMT -7. The time now is 07:47 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.