![]() |
|
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. |
![]() |
| LinkBack | Thread Tools | Display Modes |
| |||
![]() Use a random number generator. If you are using Linux, just read 16 bytes from /dev/urandom. There are some plans, however, to make this GUID tag more descriptive. See http://rfc-gnutella.sourceforge.net/...ID-Tagging.htm for details. Guido |
| |||
![]() hi, here's "my" code for this "problem"... should even be understood by C programmers ![]() Public Function GetRandomGUID() As String Dim intIndex As Integer Randomize Timer For intIndex = 1 To 16 GetRandomGUID = GetRandomGUID + Chr$(CInt(Rnd * 255)) Next End Function CU |
| |||
![]() Message ID: A 16-byte string uniquely identifying the message on the network. Servants SHOULD store all 1's (0xff) in byte 8 of the GUID. (Bytes are numbered 0-15, inclusive.) This serves to tag the GUID as being from a modern servant. Servants SHOULD initially store all 0's in byte 15 of the GUID. This is reserved for future use. The other bytes SHOULD have random values. Don't mess it up with the Servant identifier in Query Hit and Push messages. Servant Identifier. A 16-byte string uniquely identifying the responding servant on the network. This SHOULD be constant for all Query Hit messages emitted by a servant and is typically some function of the servant's network address. The servant Identifier is mainly used for routing the Push Message |
| |||
![]() hi, this is just a limewire proposal and as far as i know it isn't used beacause all these things can be done with the 0.6 handshake. here some lines (0.6 specification): ....... Lime Wire LLC had proposed using the GUIDs of initial ping requests as a form of protocol versioning. For example, the last byte of the GUID of the first message by a client would be 0 if the client spoke the "Gnutella 0.5" protocol, 1 if the client spoke the "Gnutella 0.6" protocol, etc. While this scheme is backwards- compatible, it is imperfect. First, it does not provide ways for clients to support different combinations of protocol extensions. If, for example, clients at the "0.6" level were to support QRP and pong-caching, a servent would be required to implement both. Second, this scheme places a burden on the servent implementer. For example, a servent trying to accept only connections with QRP support must put new connections on "probation" until it has received the initial ping. ....... CU |
![]() |
| |
![]() | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
I give up | caloundratattoo | Chat - Open Topics - The Lounge | 4 | October 14th, 2005 05:01 PM |
give me this | gnutotella | XoloX Feature Request | 5 | January 14th, 2003 02:31 PM |
Problem identifying Descriptor IDs | Paradog | General Gnutella Development Discussion | 5 | July 25th, 2002 04:04 PM |
Payload descriptor codes | Unregistered | General Gnutella Development Discussion | 3 | May 27th, 2002 12:13 AM |
Descriptor Help | Ahri | General Gnutella / Gnutella Network Discussion | 7 | August 23rd, 2001 09:13 AM |