Purpose: To allow connections between two passive clients in NMDC protocol.
Usage:
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:
Code:
$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:
Code:
$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.
Passive-Passive connections
-
Pretorian
- Site Admin
- Posts: 214
- Joined: Tue Jul 21, 2009 10:21 am
Passive-Passive connections
This is copied from the StrongDC++ site. If this is already implemented, then it should be included in the base documentation for NMDC...
Who is online
Users browsing this forum: Google (Crawler) and 0 guests