Internet connection test
Posted: Mon Dec 08, 2008 12:32 pm
Hi,
Need to check (continously) the internet connection status within the application at an interval of say 30 seconds..
Using the load URL "url name" setup at the beginning of the application in the preopenstack.
Within openstack, I have the function that will loop at the set interval that picks the data from the cache created by the load URL above.
What am not able to accomplish is to drop the cache so that on next check, a fresh load is done...
Have unload URL "url name" within the above function after I do a read, and what I assume to be a fresh load URL after that....
Testing this by disconnecting from the internet, but the application still assumes I am connected, doesn't the unload URL clear the cache?
also, tried the ping route, and can't get that to work...
assumed I could ping www.bbc.co.uk, that times-out
Need to check (continously) the internet connection status within the application at an interval of say 30 seconds..
Using the load URL "url name" setup at the beginning of the application in the preopenstack.
Within openstack, I have the function that will loop at the set interval that picks the data from the cache created by the load URL above.
What am not able to accomplish is to drop the cache so that on next check, a fresh load is done...
Have unload URL "url name" within the above function after I do a read, and what I assume to be a fresh load URL after that....
Testing this by disconnecting from the internet, but the application still assumes I am connected, doesn't the unload URL clear the cache?
also, tried the ping route, and can't get that to work...
assumed I could ping www.bbc.co.uk, that times-out