ADC UDP protocol - CID is not described in specs

Asked by Valeriy Lobanov

while TCP client-client message (via hub) has source and destination SID, UDP message has only one CID.
is it sender or recipient?
search-reply messages must contain sender CID (for displaying user in results).
and ClientManager::send(AdcCommand) set sender cid,
but AdcHub::sendUDP(const AdcCommand) set recipient cid, probably by mistake.

what are rules for CID in UDP messages?

Question information

Language:
English Edit question
Status:
Answered
For:
DC++ Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Fredrik Ullner (ullner) said :
#1

U-type messages in ADC use the sender's CID, per the BNF syntax.

Revision history for this message
Valeriy Lobanov (valobn) said :
#2

ok

Revision history for this message
Valeriy Lobanov (valobn) said :
#3

admins, please change status 'solved' to 'answered' :)

Revision history for this message
eMTee (realprogger) said :
#4

.

Can you help with this problem?

Provide an answer of your own, or ask Valeriy Lobanov for more information if necessary.

To post a message you must log in.