View Single Post
  #2 (permalink)  
Old May 2nd, 2002
willem willem is offline
Apprentice
 
Join Date: January 13th, 2002
Location: Netherlands
Posts: 8
willem is flying high
Default the private data has variable length

This is the format of the queryhit trailer:

bytes what
-----------------------------------------------------------------
0 - 3 Vendor code
4 Open data section size (integer)
5 - 6 Open data section
7 - N Private data section

In the example, "open data size" = 2; open data = "0x1C01"; private data is "0x1800...0C00".

The open data is described in the 0.4 protocol pdf and in the source of open-source clients.

Bearshare's private data is described in http://groups.yahoo.com/group/the_gdf/message/5845
Reply With Quote