Search the web
Sign In
New User? Sign Up
the_gdf · The Gnutella Developer Forum (GDF)
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Ultrapeer Status "UP" GGEP question   Message List  
Reply | Forward Message #23590 of 23639 |
Re: Ultrapeer Status "UP" GGEP question

Quoting pitermagram <pitermagram@...> from ml.gnutella.dev-forum:
:Hi,
:
:i have the following question about "UP" ggep:
:
:in LimeWire client sources when this ggep parsed/created first comes ultrapeer
:version, then amount of free leaf slots and third comes amount of free
ultrapeer
:slots:
:(see attached part of source code)
:payload[0] = 0;
:payload[1] = localPongInfo.getNumFreeLimeWireLeafSlots();
:payload[2] = localPongInfo.getNumFreeLimeWireNonLeafSlots();
:
:while in GTK Gnutella client first comes ultrapeer version, then amount of free
:ultrapeer slots and third comes amount of free leaf slots (NOTE: ultrapeer and
:leaf slots are switched):
:(see attached part of source code)
:ggep_stream_write(&gs, &meta->version_up, 1) &&
:ggep_stream_write(&gs, &meta->up_slots, 1) &&
:ggep_stream_write(&gs, &meta->leaf_slots, 1) &&
:
:Is there any reason for this ?

Yes, the reason is that gtk-gnutella follows the published specifications!
The following page:

http://wiki.limewire.org/index.php?title=Known_GGEP_Extension_Blocks

defines the "UP" extension payload as:

{VersionGuessStyle VersionUP, byte SlotsFreeUP, byte SlotsFreeLeaf}

Note that the specification does not tell us what "versionUP" means, hence
this is open to interpretation. Gtk-gnutella uses the minor version of
the QRP protocol, i.e. 2 (as it supports 0.2).

Raphael



Sun Apr 19, 2009 8:37 pm

raphael_manf...
Offline Offline
Send Email Send Email

Forward
Message #23590 of 23639 |
Expand Messages Author Sort by Date

Hi, i have the following question about "UP" ggep: in LimeWire client sources when this ggep parsed/created first comes ultrapeer version, then amount of free...
pitermagram
Offline Send Email
Apr 19, 2009
5:38 pm

... Yes, the reason is that gtk-gnutella follows the published specifications! The following page: ...
Raphael_Manfredi@...
raphael_manf...
Offline Send Email
Apr 19, 2009
8:37 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help