static void Main(string[] args) { ExampleServer server = new ExampleServer("0.0.0.0", 4050); server.SetRoot(@"C:\Develop\Win32\HttpServer\HTTPServer\HTTPServer\wwwroot"); server.Logger = new ConsoleLogger(); server.Start(); }
static void Main(string[] args) { ExampleServer server = new ExampleServer("0.0.0.0", 4050); server.SetRoot(@"D:\Hexo\public"); server.Logger = new ConsoleLogger(); server.Start(); }
static void Main(string[] args) { ExampleServer server = new ExampleServer("192.168.132.208", 8321); server.SetRoot(@"F:\WebServer\public"); server.Logger = new ConsoleLogger(); server.Start(); }
static void Main(string[] args) { // Console.WriteLine(DaoFactory.GetGameGoodDaoImp().GetAllGamePlayerGameGood("a1")[0].goodName); ExampleServer server = new ExampleServer("100.64.129.99", 4051); server.SetRoot(@"D:\HttpServer-master\public"); server.Logger = new ConsoleLogger(); server.Start(); //SocketServ server = new SocketServ(8765); //SocketServ server = new SocketServ("100.64.129.99", 8765); }