Example #1
0
 //static void Main(string[] args)
 //{
 //    Start();
 //}
 public static void Start()
 {
     if (null == server)
     {
         server = new Server.ServerBase();
         Task.Factory.StartNew(() =>
             {
                 server.Listen();
             });
     }
 }
Example #2
0
 static void Main(string[] args)
 {
     Server.ServerBase server = new Server.ServerBase();
     server.Listen();
 }