Example #1
0
 public TcpProxy(ProxyDefinition definition)
 {
     Server = new IPEndPoint(definition.ServerAddress, definition.ServerPort);
     Client = new IPEndPoint(definition.ClientAddress, definition.ClientPort);
     Buffer = 4096;
 }
Example #2
0
 public TcpProxy(ProxyDefinition definition)
 {
     Server = new IPEndPoint(definition.ServerAddress, definition.ServerPort);
     Client = new IPEndPoint(definition.ClientAddress, definition.ClientPort);
     Buffer = 4096;
 }