Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   General Gnutella Development Discussion (https://www.gnutellaforums.com/general-gnutella-development-discussion/)
-   -   No response to my QUERIES!!! (https://www.gnutellaforums.com/general-gnutella-development-discussion/12006-no-response-my-queries.html)

AliSweden June 2nd, 2002 06:57 AM

No response to my QUERIES!!!
 
heeeeeeeeelp!

I've created a small client, it does the following:

Connect to a servant somewhere [working fine]
Send "GNUTELLA CONNECT/0.4\n\n" [working fine]
Receive "GNUTELLA OK\n\n" [working fine]
Send "Ping msg", GUID is just 16 random numbers, followed by that a 0 (PING REQ), TTL=7, HOPS=0, and 4 zeroes (no length) [working fine]

I now get PONG reponse from lots of dudes! [working fine]

I send the following query:
"Query msg", GUID is just 16 random numbers
Then 128 (0x80 QUERY), TTL=7, HOPS=0, and 4 bytes: 6 0 0 0
Now comes the descriptor:
Two zeroes 0 (0 KBPS required), and then "mp3", 0

After this, I'm hoping to get lots of QUERY RESPONSES on this connection, but I get NOTHING :(

Why is this? I use Little Endian order for everything (except IP #),

thanks!

Vinnie June 2nd, 2002 07:02 AM

Well
 
Due to various bugs in several clients (including ours) you will need to set the "minimum speed" to at least 56 (for 56kbps) in order to get most query replies.

AliSweden June 2nd, 2002 07:27 AM

I just tried setting the first two bytes of the QUERY to 56 00 (decimal) ... no response still!

Whats wrong? I've debugged the program and made sure that it really does output what I wrote in the first email!

thanks

AliSweden June 2nd, 2002 12:22 PM

I've noticed they close the connection right after sending Pong messages!! How come?

PizzaChillieMan June 2nd, 2002 12:46 PM

bad pong - or - you like a freeloader (sharing no files)?

PizzaChillieMan June 2nd, 2002 12:48 PM

... or if you mean after THEY send a pong, then they have no free slots available and feed you with alternative locations. Try v0.6 protocol, you get more status messages.

AliSweden June 2nd, 2002 12:49 PM

If you read my first email, I have specified exactly what I send and exactly what I get back!

Noone ever pings me, so I have not ponged anyone (and thus I have not specified to anyone how much I share!)

AliSweden June 2nd, 2002 01:36 PM

Thanks Pizza! That's helpful information, didn't read about it anywhere! Btw is the 0.6 specification found anywhere?

I'm very interested to find out more about Super Nodes and Super Peers, any info about that anywhere?

Btw, Yes other peers PONGED me!

Unregistered June 2nd, 2002 02:45 PM

see the FAQ thread, click on second link.

PizzaMan

Unregistered June 2nd, 2002 02:47 PM

PS: didn't got any email from you. :) :)


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