Creating a Query for a SHA-1 Hash

"yn7e23f" <[email protected]> Thu, 04 Dec 2008 16:15:21 -0000
Newsgroups gmane.network.gnutella.devel
Message-ID <[email protected]>
Hello,

I'm trying to create a simple Gnutella client. So I have a Question
about creating a Query. I've read the Techdocs and a "normal" query is
already implented.
Now I would like to make a Query without a search string only with a
SHA1-Hash.

At first I had used this query

[Header]            23 bytes
Speed or Flags       2 bytes
No Searchstring
Null                 1 byte
urn:sha1:            8 bytes
base32 SHA1         32 bytes
Null                 1 bytes

But there was no result. Then I've read, that teh HUGE extension isn't
used by Limewire etc. So I've tryed the GGEP extension together with
the HUGE Extension.


[Header]            23 bytes
Speed or Flags       2 bytes
No Searchstring
Null                 1 byte
urn:sha1:            8 bytes
base32 SHA1         32 bytes
Null                 1 bytes
0x1C                 1 byte
0xC3                 1 byte
GGEP Flag 0x81       1 byte
"H"                  1 byte
GGEP Datalength 0x14 1 byte
SHA-Hash            20 bytes
null                 1 byte

But there weren't any results too.

Cane someone tell me, where's my mistake?
And sorry for my bad english.  

Benno