Section 15. Any person detected in the act of violating the preceding section may, if his name is unknown to the officer, be arrested without a warrant by any officer authorized to serve criminal process in the place where the offence is committed and kept in custody until he can be taken before a court having jurisdiction of such offence.