@ -31,7 +31,7 @@ namespace client
}
I2PTunnelConnection : : I2PTunnelConnection ( I2PService * owner , std : : shared_ptr < boost : : asio : : ip : : tcp : : socket > socket ,
std : : shared_ptr < const i2p : : data : : LeaseSet > leaseSet , int port ) :
std : : shared_ptr < const i2p : : data : : LeaseSet > leaseSet , u int16_ t port ) :
I2PServiceHandler ( owner ) , m_Socket ( socket ) , m_RemoteEndpoint ( socket - > remote_endpoint ( ) ) ,
m_IsQuiet ( true )
{
@ -581,7 +581,7 @@ namespace client
{
public :
I2PClientTunnelHandler ( I2PClientTunnel * parent , std : : shared_ptr < const Address > address ,
int destinationPort , std : : shared_ptr < boost : : asio : : ip : : tcp : : socket > socket ) :
u int16_ t destinationPort , std : : shared_ptr < boost : : asio : : ip : : tcp : : socket > socket ) :
I2PServiceHandler ( parent ) , m_Address ( address ) ,
m_DestinationPort ( destinationPort ) , m_Socket ( socket ) { } ;
void Handle ( ) ;
@ -589,7 +589,7 @@ namespace client
private :
void HandleStreamRequestComplete ( std : : shared_ptr < i2p : : stream : : Stream > stream ) ;
std : : shared_ptr < const Address > m_Address ;
int m_DestinationPort ;
u int16_ t m_DestinationPort ;
std : : shared_ptr < boost : : asio : : ip : : tcp : : socket > m_Socket ;
} ;
@ -630,7 +630,7 @@ namespace client
}
I2PClientTunnel : : I2PClientTunnel ( const std : : string & name , const std : : string & destination ,
const std : : string & address , int port , std : : shared_ptr < ClientDestination > localDestination , int destinationPort ) :
const std : : string & address , u int16_ t port , std : : shared_ptr < ClientDestination > localDestination , u int16_ t destinationPort ) :
TCPIPAcceptor ( address , port , localDestination ) , m_Name ( name ) , m_Destination ( destination ) ,
m_DestinationPort ( destinationPort ) , m_KeepAliveInterval ( 0 )
{
@ -705,10 +705,10 @@ namespace client
}
I2PServerTunnel : : I2PServerTunnel ( const std : : string & name , const std : : string & address ,
int port , std : : shared_ptr < ClientDestination > localDestination , int inport , bool gzip ) :
u int16_ t port , std : : shared_ptr < ClientDestination > localDestination , u int16_ t inport , bool gzip ) :
I2PService ( localDestination ) , m_IsUniqueLocal ( true ) , m_Name ( name ) , m_Address ( address ) , m_Port ( port ) , m_IsAccessList ( false )
{
int inPort = ( inport ? inport : port ) ;
u int16_ t inPort = ( inport ? inport : port ) ;
m_PortDestination = localDestination - > GetStreamingDestination ( inPort ) ;
if ( ! m_PortDestination ) // default destination
m_PortDestination = localDestination - > CreateStreamingDestination ( inPort , gzip ) ;
@ -870,8 +870,8 @@ namespace client
}
I2PServerTunnelHTTP : : I2PServerTunnelHTTP ( const std : : string & name , const std : : string & address ,
int port , std : : shared_ptr < ClientDestination > localDestination ,
const std : : string & host , int inport , bool gzip ) :
u int16_ t port , std : : shared_ptr < ClientDestination > localDestination ,
const std : : string & host , u int16_ t inport , bool gzip ) :
I2PServerTunnel ( name , address , port , localDestination , inport , gzip ) ,
m_Host ( host )
{
@ -883,8 +883,8 @@ namespace client
}
I2PServerTunnelIRC : : I2PServerTunnelIRC ( const std : : string & name , const std : : string & address ,
int port , std : : shared_ptr < ClientDestination > localDestination ,
const std : : string & webircpass , int inport , bool gzip ) :
u int16_ t port , std : : shared_ptr < ClientDestination > localDestination ,
const std : : string & webircpass , u int16_ t inport , bool gzip ) :
I2PServerTunnel ( name , address , port , localDestination , inport , gzip ) ,
m_WebircPass ( webircpass )
{