forked from tmoonlight/NSmartProxy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProgram_client.cs
More file actions
30 lines (25 loc) · 973 Bytes
/
Program_client.cs
File metadata and controls
30 lines (25 loc) · 973 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
using System;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
namespace NSmartProxy.Test
{
//class Program
//{
// public static void Main(String[] args)
// {
// ////TcpListener listener = new TcpListener(IPAddress.Any, 6666);
// //TcpClient tcpClient = new TcpClient();
// //tcpClient.Connect(IPAddress.Parse("172.20.66.84"),80);
// //TcpListener listener = new TcpListener(IPAddress.Any, 89);
// //var client = listener.AcceptTcpClient();
// //byte[] buf = new byte[1024];
// //client.GetStream().Read(buf, 0, buf.Length);
// ClientConnectionManager ccm = ClientConnectionManager.GetInstance();
// ClientConnectionManager ccm1 = ClientConnectionManager.GetInstance();
// ClientConnectionManager ccm2 = ClientConnectionManager.GetInstance();
// Console.Read();
// }
//}
}