Exemple #1
0
 public void Start()
 {
     listener.Start();
     HttpLog?.Invoke("HTTP Server Startet", null);
     while (true)
     {
         TcpClient client = listener.AcceptTcpClient();
         HttpLog?.Invoke("HTTP Server Connected", null);
         HttpServerHandler handler = new HttpServerHandler(client);
         new Thread(handler.HandleRequest).Start();
     }
 }