Exemplo n.º 1
0
 public TcpProxyServer(TcpProxyConfiguration configuration)
 {
     _logger = new Logger();
     _tcpConnectionManager = new TcpConnectionManager();
     _configuration = configuration;
     _tcpListener = new TcpListener(_configuration.PublicHost.IpAddress, _configuration.PublicHost.Port);
 }
Exemplo n.º 2
0
 public TcpProxyServer(TcpProxyConfiguration configuration)
 {
     _logger = new Logger();
     _tcpConnectionManager = new TcpConnectionManager();
     _configuration        = configuration;
     _tcpListener          = new TcpListener(_configuration.PublicHost.IpAddress, _configuration.PublicHost.Port);
 }