public TCPRelay(EndPoint localEP, EndPoint remoteEP, EndPoint socks5EP, bool useProxy) { _localEP = localEP; _remoteEP = remoteEP; _socks5EP = socks5EP; _useProxy = useProxy; this._pipe = new TCPPipe(this, localEP, remoteEP, socks5EP, useProxy); }
public TCPRelay(EndPoint localEP, EndPoint remoteEP) { _localEP = localEP; _remoteEP = remoteEP; this._pipe = new TCPPipe(this, localEP, remoteEP); }