Purpose: To allow connections between two passive clients in NMDC protocol.
Client advertises the support as a flag 0x20 in $MyInfo.
When passive client A wants to make connection with remote client B, it sends standard $RevConnectToMe command. When remote client B is passive too, it will respond to it with:
$ConnectToMe <A's nick> <B's IP>:<port>N <B's nick>|
where <port> is the outbound port to the connected hub. Character 'N' is appended to this port number, 'NS' for TLS connection. When client A receives it, it tries to connect to specified IP:port and responds to B with:
$ConnectToMe <B's nick> <A's IP>:<port>R|
where <port> is again the outbound port to the connected hub. Character 'R' is appended, 'RS' for TLS connection. When client B receives it, it tries to connect to specified IP:port.
1 post • Page 1 of 1
- Site Admin
- Posts: 214
- Joined: 21 Jul 2009, 10:21
This is copied from the StrongDC++ site. If this is already implemented, then it should be included in the base documentation for NMDC...