/// <summary> /// 移除客户端 /// </summary> /// <param name="client"></param> public static void RemoveClient(AsyncTcpClient client) { Pool.TryTake(out client); }
/// <summary> /// 添加客户端 /// </summary> /// <param name="client"></param> public static void AddClient(AsyncTcpClient client) { Pool.Add(client); }