Esempio n. 1
0
 private void MethodStopServer()
 {
     if (server != null)
     {
         Overall.lsocket.Clear();
         server.Stop();
         server.Dispose();
         //this.GetMsgList.Items.Add("The Server is Close...");
         SerilogHelper.Log4Debug("The server is Close ....", Outputoption.Info);
         this.SettingBtn.Enabled = true;
     }
     Overall.ListIP.Clear();
 }
Esempio n. 2
0
 public void Stop()
 {
     _server.Stop();
     _q.StopServer();
 }