Exemple #1
0
 /// <summary>
 /// 停止所有服务
 /// </summary>
 public void Stop()
 {
     if (DicTcpServer == null)
     {
         return;
     }
     foreach (KeyValuePair <string, TcpPullServer <ClientInfo> > kvp in DicTcpServer)
     {
         TcpPullServer <ClientInfo> sk = kvp.Value;
         sk.Destroy();
     }
 }