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!