We were just thinking more on this, and it seems that there are some
corporate networks that allow http:// but not other protocols?
In other words, people can surf websites but not download?
If this is true, rather than using "ping" in the process, we are
thinking it might be better to issue an FTP command to test
downloading of a small test file. If this fails, we would know that
Revolution downloading will not work.
Again, if we can solve this, it means a huge breakthrough for
Revolution- being able to auto-update, for example, without the risk
of hanging.
On Feb 11, 2009, at 11:46 AM, Josh Mellicker wrote:
On Jan 23, 2009, at 5:07 PM, Alex Tweedly wrote:
To feel safe, I'd want to do the network check in a separate
process, and have a fail-safe mechanism within the real app (i.e.
it detects failure rather than waiting for it). So I'd use a
backgrounded shell command which creates a temp file, and have the
real app check for that file being created/updated. Could be a ping
shell command, or a small standalone which loads a url, or anything
similar - as long as it's a separate process.
-- Alex.
We are finally testing this.
Could I ask a favor?
Would someone who is behind a proxy server or corporate firewall
test this code:
on mouseUp
put "ping -c 1 google.com" into tCmd
open process tCmd FOR update
wait 1 second with messages
read from process tCmd until empty
put it
close process tCmd
end mouseUp
?
The question is:
Will this code return a valid IP (in "it") even when normal
Revolution ftp commands will not work?
I am hoping the answer is "NO".
If this works, it may mean, for the first time I'm aware of, we all
have a way for checking if connected that will NEVER hang
Revolution! Yipeee!
Thanks!
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution