Esempio n. 1
0
 static void Main(string[] args)
 {
     // TODO: Call CreateRedirectionRulesFile() function to create the rules of redirection 
     CreateRedirectionRulesFile();
     //Start server
     // 1) Make server object on port 1000
     Server server = new Server(10001, "redirectionRules.txt");
     // 2) Start Server
     server.StartServer();
 }
Esempio n. 2
0
 static void Main(string[] args)
 {
     CreateRedirectionRulesFile();
     Server server = new Server(1000, "redirectionRules.txt");
     server.StartServer();
 }