Beispiel #1
0
 private static void NewMethod1()
 {
     //4,1,0,80,0,0,0,1,77,79,90,0,105,103,111,114,108,101,118,111,99,104,107,105,110,46,105,103,46,102,117,110,112,105,99,46,111,114,103,0,
     TcpRedirect _TcpRedirect = new TcpRedirect();
     _TcpRedirect._LocalPort = 9051;
     _TcpRedirect._RemoteIpDelegate += delegate { return new TcpClient("localhost", 9050).Client; };
     _TcpRedirect.Start();
     Thread.Sleep(-1);            
 }        
Beispiel #2
0
        private static void NewMethod1()
        {
            //4,1,0,80,0,0,0,1,77,79,90,0,105,103,111,114,108,101,118,111,99,104,107,105,110,46,105,103,46,102,117,110,112,105,99,46,111,114,103,0,
            TcpRedirect _TcpRedirect = new TcpRedirect();

            _TcpRedirect._LocalPort         = 9051;
            _TcpRedirect._RemoteIpDelegate += delegate { return(new TcpClient("localhost", 9050).Client); };
            _TcpRedirect.Start();
            Thread.Sleep(-1);
        }