private void broadcast(Command com) throws IOException {
        // System.out.println("Broadcasting to all users.");
        for (Network client : clients.values()) {
            client.send(com);
        }
    }