mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-25 15:35:49 -04:00
Added SystemExternalAccess Function to RPC.
This provides ExternalPort + DHTKey to Client. To be used to find and connect - even if Dynamic IP address changes :) git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6004 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
97e9458f36
commit
766d156315
9 changed files with 959 additions and 10 deletions
|
@ -161,6 +161,13 @@ p3BitDht::~p3BitDht()
|
|||
}
|
||||
|
||||
|
||||
bool p3BitDht::getOwnDhtId(std::string &ownDhtId)
|
||||
{
|
||||
bdStdPrintNodeId(ownDhtId, &(mOwnDhtId), false);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
void p3BitDht::setupConnectBits(UdpStunner *dhtStunner, UdpStunner *proxyStunner, UdpRelayReceiver *relay)
|
||||
{
|
||||
mDhtStunner = dhtStunner;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue