Maybe you could provide more information to help identify the issue? What does the app do? Are there any error messages when it stops communicating on the network? Does the app crash?
It could be something as simple as the device turning off WiFi when it there is no user / network activity for a certain amount if time. Have you set the KeepAlive?
Private ws As PhoneWakeState
ws.KeepAlive(True)
This will stop the phone going to sleep & turning off the WiFi while your app is running. Don't forget to call ws.KeepAlive(False) to release it when your app is finished.
- Colin.