Beispiel #1
0
        public void SendMessageToClient(String nickname, byte[] message)
        {
            ClientHandler client = _clients.FirstOrDefault(c => c.Nickname == nickname);

            client.SendMessage(message);
        }
Beispiel #2
0
 public void AddClient(ClientHandler client)
 {
     _clients.Add(client);
 }