static void Main(string[] args) { //MathServer server = new MathServer(ServiceType.TCP); MathServer server = new MathServer(ServiceType.UDP); server.Start(); }
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 }
static void Main() { MathServer server = new MathServer(Port); server.Start(); }