Client Information And You: The Information.

If you’ve been reading this blog, you probably have seen me mention that one of ADC’s strengths is its extensibility. And the client information, INF, is not an exception.

The INF consist of two parts, an identifier and its data. This is a major change in regards with $MyINFO; The INF doesn’t have a pre-defined structure on how things are to be sent, and one can just send information if he or she pleases. (Bear in mind that the hub might disconnect you if you do.)

The INF in ADC add a lot of information that $MyINFO doesn’t; Global client identification, more specific transfer information and UDP port are among the new information that can now be sent. Ah, and also, the hi-jacking of the description, for the tag, isn’t an issue anymore since there are specific identifiers designed for all of the parts in the tag.

Something that hub developers may like, is the fact that there is no requirement to forward any part of the INF. Every client is required to work without any field. (Though, nick might be advisable. ;) ) Also, the hub have the power to require certain INF identifiers (and act upon it if the client doesn’t provide them).

Something that is a nice feature for hub owners is that everything is sent in a incremental way. This means that you only send those parts that actually changed. Say, if only your share changed, there is really no need to advertise what your nick is (since it didn’t change).

Unfortunately, the initial INF is very large compared to $MyINFO. This is what DC++ sends (note that not all clients do/will behave this way); PID and CID combination (CID is the global client identifier, and PID is a verification the CID is correct), IP-address (if you’ve entered it in settings), UDP port (same as previous), amount of files you are sharing and how much it is in bytes, version of DC++ (“DC++ 0.698” eg), slots, e-mail, nick, description and how many hubs you are “normal”, registered and operator in. (There is a few more, but the list kept growing so I stopped.)

I’m sure all of you are now looking also at the draft, and noticing that the identifiers are only two characters. This is correct, and means that there is a restriction on how many different combinations there are. (I think the allowed characters are A-Z and 0-9, but I’m not sure. [I’m probably wrong, but it’s around that ball park.])

Alright, this concludes this edition of Client Information And You. Since I’m sure a lot are interested in some stats, I had next planned Client Information And You: The stats.

Don’t forget that you can make topic suggestions for blog posts in our “Blog Topic Suggestion Box!”

One Response to Client Information And You: The Information.

  1. Pingback: Listing nicks in ADC and NMDC « DC++: Just These Guys, Ya Know?

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: