read optional destination port form config

This commit is contained in:
orignal 2015-03-15 11:28:30 -04:00
parent 1d737409ec
commit fee68cf333
4 changed files with 11 additions and 7 deletions

View file

@ -84,7 +84,8 @@ namespace client
{
public:
I2PServerTunnel (const std::string& address, int port, std::shared_ptr<ClientDestination> localDestination);
I2PServerTunnel (const std::string& address, int port,
std::shared_ptr<ClientDestination> localDestination, int inport = 0);
void Start ();
void Stop ();