static void Main(string[] args)
        {
            //MathServer server = new MathServer(ServiceType.TCP);

            MathServer server = new MathServer(ServiceType.UDP);

            server.Start();
        }
示例#2
0
 public static void StartUp(TestContext context)
 {
     _server = new MathServer(Port);
     Task.Run(() => _server.Start());
     //_server.Start(); // test will run the server, and nothing else will happen
 }
示例#3
0
        static void Main()
        {
            MathServer server = new MathServer(Port);

            server.Start();
        }