View Single Post
  #1 (permalink)  
Old August 7th, 2009
yodoloi04 yodoloi04 is offline
Disciple
 
Join Date: May 4th, 2009
Posts: 14
yodoloi04 is flying high
Default Why I didn't receive any answer to my query's

Hi All,

I implemented on my client, the handshake, ping, pong and query messages.
But now I have a problem with the query message, what happend is:

I connect to a peer whitout any problem (here are the options used):

GNUTELLA CONNECT/0.6
X-Max-TTL: 3
X-Query-Routing: 0.1
User-Agent: GnutConsole/0.1
Listen-IP: xxxx.xxxx.xxxx.xxxx
Pong-Caching: 0.1
X-Ultrapeer: False
X-Locale-Pref: en
Remote-IP: xxxx.xxxx.xxxx.xxxx

send a ping message and receive a pong, and then I send a query message:

ID: 2FA318ABA818354A1389265472F91600
Payload: 128 (query)
TTL: 3
Hops: 0
Length: 13
--> Query
Min Speed: 226
Search: game

After that, I didn't receive any QueryHit to my request. If I do the same test but with an ultrapeer on my private Lan I receive a QueryHit. So as it's the same code, I didn't understand why I works with an ultrapeer on my private network and it didn't work with an ultrapeer on the internet gnutella network.

I did some analyses with wireshark and in the two cases in send the same messages and I don't think it's a network problem (because I receive a Tcp ack from the ultrapeer).

Someone as an idea about why I don't receive a queryHit ?

Thanks in advance for your help
Juan
Reply With Quote