How does dc++ determine another peer's CID ? As part of which message is this information exchanged ?

Asked by Prashant

In my queue.xml , I see entries like ..

<Download Target...>
<Source CID="cid"...>

Where is the cid value coming from ? I don't see it as part of any of the client's messages to the hub or the other clients ?

Question information

Language:
English Edit question
Status:
Solved
For:
DC++ Edit question
Assignee:
No assignee Edit question
Solved by:
eMTee
Solved:
Last query:
Last reply:
Revision history for this message
Best eMTee (realprogger) said :
#1

CID is a unique value and generally used for identifying clients (Client ID). Depending on what kind of hub is used it is generated differently and it really is a central part of the protocol talk in ADC hubs. In NMDC hubs it is generated at login and hubname+nick used for its base and is not exchanged in the protocol. For NMDC it is used in client side only as a pseudo-CID for compatibility, to make the legacy NMDC users fit to the new (ADC based) identification scheme of the client.

Revision history for this message
Prashant (tprashant) said :
#2

Thanks eMTee, that solved my question.