The visit to Dhaka by the Pakistani military officials came after a delegation of Bangladeshi military officials toured Pakistan and held meetings with the three service chiefs.