Hub List Registration

Technical discussion about the NMDC and <a href="http://dcpp.net/ADC.html">ADC</A> protocol. The NMDC protocol is documented in the <a href="http://dcpp.net/wiki/">Wiki</a>, so feel free to refer to it.

Moderator: Moderators

TasMan
Posts: 196
Joined: 2003-01-03 13:31
Location: Canada

Hub List Registration

Post by TasMan » 2003-01-27 15:43

Code: Select all

$Key <string>|<name>|<ip[:<port>]>|<description>|<users>|0|


This format has worked for me before, but what is the "0" for? I've been thinking it's the total bytes shared in the hub (as the stats on Neo-Modus have this), but I can't be sure. It could be how many times a hub registered, etc. Any hints?[/i]

aDe
Forum Moderator
Posts: 138
Joined: 2003-01-07 14:14
Location: SE

Post by aDe » 2003-01-27 18:18

It is the total amount of shared bytes in the hub, afaik.

sandos
Posts: 186
Joined: 2003-01-05 15:16

Post by sandos » 2003-01-27 19:02

aDe wrote:It is the total amount of shared bytes in the hub, afaik.


It is indeed. Recently a buggy Open DC hub made my hublist throw an exception (it sent 2^64 bytes shared, java only has signed ints) since my hublist actually parses the number. I have code that appends "(shared bytes)" to the description.

Who is online

Users browsing this forum: Google [Bot] and 0 guests