示例#1
0
文件: Program.cs 项目: Alword/Bost
        static void Main(string[] args)
        {
            Log($"[Proto] Start session");

            ConnectionListner connectionListner = new ConnectionListner();

            ProxyClient proxy = new ProxyClient("0.0.0.0", "95.217.100.55", 25852);

            proxy.Start();
            proxy.OnReciveMessage += connectionListner.ReciveListner;
            proxy.OnSendMessage   += connectionListner.SendListner;

            Console.ReadLine();
        }