JLChen
2020-04-03 be95e839f40eb3ddf64706b60cba6dfcf4fad5e5
Crabtree/SmartHome/Net/HttpListener.cs
@@ -33,10 +33,10 @@
                  }
               });
               contextThread.Start ();
               System.Console.WriteLine ("HttpListener已经启动!");
               Utlis.WriteLine ("HttpListener已经启动!");
            }
         } catch (Exception e) {
            System.Console.WriteLine ("HttpListener启动失败!\r\n" + e.Message);
            Utlis.WriteLine ("HttpListener启动失败!\r\n" + e.Message);
         }
      }
      /// <summary>
@@ -104,7 +104,7 @@
               listener = null;
            }
         } catch { }
         System.Console.WriteLine ("HttpListener已经关闭!");
         Utlis.WriteLine ("HttpListener已经关闭!");
      }
      private static void manager (System.Net.HttpListenerContext httpListenerContext)
@@ -168,7 +168,7 @@
         //streamWriter.WriteLine(text);
         //streamWriter.Close();
         System.Console.WriteLine ("HttpListener 接收到测试信息!");
         Utlis.WriteLine ("HttpListener 接收到测试信息!");
      }