I have a simple wifi network question. My app communicates to a serial device using wifi. The app is the client and opens a UDP socket, sends a byte string to the server, recieves a reply, closes the socket and repeats this process every second. It works well except periodically I recieve a null packet. The problem clears up when I stop all apps runing in the background. I assume one of the apps or service is attempting to use the the wifi connection while my app is running. Google Play seems to be the culprit. Is there a way to prevent this from happening through programming code? *Note the wifi over serial server device does have a built in web server for configuration settings.