protected void func_72612_a(boolean par1)
    {
        int i = 0;
        Iterator iterator = field_72616_e.iterator();

        do
        {
            if (!iterator.hasNext())
            {
                break;
            }

            DatagramSocket datagramsocket = (DatagramSocket)iterator.next();

            if (func_72604_a(datagramsocket, false))
            {
                i++;
            }
        }
        while (true);

        field_72616_e.clear();
        iterator = field_72614_f.iterator();

        do
        {
            if (!iterator.hasNext())
            {
                break;
            }

            ServerSocket serversocket = (ServerSocket)iterator.next();

            if (func_72605_a(serversocket, false))
            {
                i++;
            }
        }
        while (true);

        field_72614_f.clear();

        if (par1 && 0 < i)
        {
            func_72606_c((new StringBuilder()).append("Force closed ").append(i).append(" sockets").toString());
        }
    }