It shall be the duty of the sheriff, justices, constables, and all other civil officers of the county, and of every police officer of any city, town or village, when they know or have reason to suspect any person to be guilty of a violation of the provisions of law in reference to gambling or gaming, or operating a bucket-shop or any business dealing in contracts commonly called “futures,” to apprehend such person, and bring him before some officer having jurisdiction thereof, and to appear and prosecute such offender.