Client-Hub Handshake

From DCppWiki

Jump to: navigation, search

The Client-Hub Handshake, when everything goes well, looks like this in very broad terms. However, the order of commands is not well-defined; different implementations vary widely.

Hub

$Lock <lock> Pk=<pk>|

Client

$Key <key>|$ValidateNick <nick>|

Hub

$HubName <name>|$Hello <nick>|

Client

$Version <version>|$MyINFO <info string>|$GetNickList|

Note: most/all? hubs send Lock+Hubname at connect, so dont trigger on hubname, at least not in this order.

Some usefull information concerning the handshaking is also under delayed entry -topic.