Description:
Many times a connecion is established minutes or hours ago. But it doesnt work correctly. I don't know if the problem is in phone operator system, or in the device or some roms. Simply the connection is corrupted. If you try to surf a web it doesn't work. Clicking "sync" in activesync keeps rolling for ever. So I've to close the connection manually (hang button long press) and establishing a connection again. And then all works again.
What I searched and didn't find:
- A program that tries to reach a server (www.google.es) each x minutes. If there is an active connection but cant reach it then kill the connection and stablish it again. The program doesnt download the page content. Simply reach the server so very little data usage (a few bytes each time).
- Very little, no cpu consuming and no resident. Windows should run it each x minutes. Do its job in a few milliseconds and exit.
- Perform its job even if the device is suspended.
- So I wrote my little program. It works correctly.
- If the phone is in fly mode then it skip its job.
Usage:
Just install. No need to run it manually. It installs too a little GUI program (ConnectionStateCheckerGUI) to see some statistics (stored in the registry) like number of checks, corrupt connections, last check, etc. You can set the timeout (10 minutes) and server (http://www.google.com) in the registry.
Update Description:
v1.1 (05-10-2009):
- Options dialog to change timeout to run the program automatically (10 by default) and web server to reach (www.google.com by default).
- Option to reset statistics.
- When the gui is opened its auto-refreshed automatically each 2 seconds.
- Minor fixes.
v1.0 (04-10-2009):
- Initial release.