![]() |
|
|||||||
| Register | FAQ | The Twelve Commandments | Members List | Calendar | Arcade | Find the Best VPN | Today's Posts | Search |
| General Gnutella Development Discussion For general discussion about Gnutella development. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
||||
|
||||
|
One question regarding Descriptor IDs...
How come I get descriptor IDs like ?®ƒCÒ_åA¿1,ëÖçu| from Gnucleus & LimeWire? When I connect my client with Shareaza I get GUIDs like B4D7F325DA144026, the type which my client used to send too. I dont know if the information is important but I'm creating GUIDs with CoCreateGuid My client (Suicide) is coded in VB 6.0, I made following type. Public Type descriptor_header descriptor_id As String * 16 '<- The GUID payload_descriptor As Byte ttl As Byte hops As Byte payload_length As Single End Type Have I forgotten something? Or is the descriptor I get from Gnucleus also valid? The desperate Paradog |
|
#2
|
|||
|
|||
|
The descriptor ids are binary so you will (should?) get characters that appear like this ?®ƒCÒ_åA¿1,ëÖçu|
As long as they are mostly unique it really doesn't matter. |
|
#3
|
||||
|
||||
|
You sure?
But I'm sending the Descriptor IDs as a string, and it works. How come Shareaza sends me non-binary IDs? |
|
#4
|
|||
|
|||
|
Possibly it takes the GUID and converts it to a hex string then takes the first 16 chars . It really doesn't matter as long as it is unique.
|
|
#5
|
||||
|
||||
|
Oh right,
Thanks. Have you read the PM? By the way, I was wondering how big the possibility is to have to same GUIDs within a horizon. I'm not very good at maths (Hey! I'm still in school), but I guess its (16*36)^16 or am I wrong? |
|
#6
|
|||
|
|||
|
Quote:
|
![]() |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help Song Identifying | brocka123 | Open Discussion topics | 1 | February 9th, 2005 06:13 AM |
| Payload descriptor codes | Unregistered | General Gnutella Development Discussion | 3 | May 26th, 2002 11:13 PM |
| Who give me a Descriptor ID? | Cerebro | General Gnutella Development Discussion | 7 | April 9th, 2002 04:38 AM |
| Descriptor Help | Ahri | General Gnutella / Gnutella Network Discussion | 7 | August 23rd, 2001 08:13 AM |
| identifying mac programs for dwnload? | Greg | Open Discussion topics | 0 | March 17th, 2001 02:38 PM |