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

Locked
TasMan
Posts: 196
Joined: 2003-01-03 08:31
Location: Canada
Contact:

Hub List Registration

Post by TasMan » 2003-01-27 10: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 09:14
Location: SE
Contact:

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

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

sandos
Posts: 186
Joined: 2003-01-05 10:16
Contact:

Post by sandos » 2003-01-27 14: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.

Locked