Easiest way would be to send a “success” string (or send the data you’ve just received) back to the server to acknowledge receipt each time.
Easiest way would be to send a “success” string (or send the data you’ve just received) back to the server to acknowledge receipt each time.