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