示例#1
0
 //static void Main(string[] args)
 //{
 //    Start();
 //}
 public static void Start()
 {
     if (null == server)
     {
         server = new Server.ServerBase();
         Task.Factory.StartNew(() =>
             {
                 server.Listen();
             });
     }
 }
示例#2
0
文件: Program.cs 项目: okonk/beastmon
 static void Main(string[] args)
 {
     Server.ServerBase server = new Server.ServerBase();
     server.Listen();
 }