Make address for proxies, BOB, SAM, ... configurable (#235).

This commit is contained in:
EinMByte 2015-07-27 13:40:35 +02:00
parent a7da2423ce
commit 524a02cb0d
16 changed files with 112 additions and 72 deletions

View file

@ -560,8 +560,11 @@ namespace proxy
}
}
SOCKSServer::SOCKSServer(int port, std::shared_ptr<i2p::client::ClientDestination> localDestination) :
TCPIPAcceptor (port, localDestination ? localDestination : i2p::client::context.GetSharedLocalDestination ())
SOCKSServer::SOCKSServer(const std::string& address, int port, std::shared_ptr<i2p::client::ClientDestination> localDestination)
: TCPIPAcceptor(
address, port,
localDestination ? localDestination : i2p::client::context.GetSharedLocalDestination()
)
{
}