private void ChatRoomsAdminListen()
 {
     if (!Object.Equals(conn.ChatAdmin, null))
     {
         NetworkStream adminNs = conn.ChatAdmin.ClientSocket.GetStream();
         if (adminNs.DataAvailable)
         {
             StreamReader sr      = new StreamReader(adminNs);
             string       message = sr.ReadLine();
             DoAdminRequest(LobbyFactory.GetRequest(message), message, conn.ChatAdmin);
         }
     }
 }
 private void ChatRoomListenLoop()
 {
     while (true)
     {
         for (int i = 0; i < conn.ConnectionList.Count; i++)
         {
             NetworkStream ns = conn.ConnectionList[i].ClientSocket.GetStream();
             if (ns.DataAvailable)
             {
                 StreamReader sr      = new StreamReader(ns);
                 string       message = sr.ReadLine();
                 DoRequest(LobbyFactory.GetRequest(message), message, conn.ConnectionList[i]);
             }
         }
         ChatRoomsAdminListen();
     }
 }