Section 48(4)(a) in The Naval Ceremonial, Conditions Of Service And Miscellaneous Regulations, 1964
(a)On the arrival of any warship of another country, the Flag or other officer in command of one or more warships, in port, whatever may be his rank, shall send an officer to such arriving ship, or in the case of a fleet or squadron, to the ship of the officer in chief command of it, to offer the customary courtesies. The Captain of the ship to which this visit is paid shall send an officer to return it.