$Getinfo

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
SBSoftEA
Posts: 20
Joined: 2003-01-03 12:29

$Getinfo

Post by SBSoftEA » 2003-01-31 08:10

well, you are all probably familiar with the $Getinfo command.
don't know what all the other hub developers are doing, but the SBHub doesn't use the getinfo command anymore. (what i do is send the $Myinfo of every user to a new user when he logs in, and i send his $myinfo to everyone else and it works ;) )
My proposal is, that we get ride of the Getinfo command alltogether since it uses unneccessary bandwidth. What i think we should do, is introduce a new command, that is send to the client in response to $Getnicklist (with the list of course). Once the client gets this, he won't send any $Getinfo commands to the hub, which should save some wasted bandwidth.
What do you think?
SBSoftEA Test Hub ---> seabass.no-ip.org:413
Not online 24/7 come by to help us test =)

Sedulus
Forum Moderator
Posts: 687
Joined: 2003-01-04 09:32
Contact:

Post by Sedulus » 2003-01-31 08:59

http://dc.selwerd.nl/hublist.xml.bz2
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)

ender
Posts: 224
Joined: 2003-01-03 17:47

Post by ender » 2003-01-31 11:25

Download bandwidth is rarely filled by the hub - upload is. In the hub I'm working on, I expect non-QuickList conforming clients to send $GetInfo, while I automatically send $MyINFO to QuickList clients...
Now let's just hope that a client which supports QuickList appears :)

SBSoftEA
Posts: 20
Joined: 2003-01-03 12:29

Post by SBSoftEA » 2003-01-31 12:07

well yeah, but it would probably make it nice for hub owners who don't have at least .5 mbit download (believe it or not, there are 56k hubs out there =P) and it would also save proccessor usage (since most people run their hub on an older comp...)
SBSoftEA Test Hub ---> seabass.no-ip.org:413
Not online 24/7 come by to help us test =)

ivulfusbar
Posts: 506
Joined: 2003-01-03 07:33

Post by ivulfusbar » 2003-01-31 12:38

GetINFO can be used for bots etc that doesn't need to get all the information from all the users...
Everyone is supposed to download from the hubs, - I don´t know why, but I never do anymore.

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

Post by TasMan » 2003-01-31 15:42

Well Shadows Direct Connect (client as well as a hub) supports QuickList :) (hence the reason for my complaint on the QuickList EXTENDEDPROTOCOL thingy)

I'll be releasing it this weekend probably....but then again - it doesn't download, upload, etc...though for now it's the VB editions only (still learning C++/MFC)

Locked