any way to detect condition "connected to ISP but not internet"?

Josh Mellicker josh at dvcreators.net
Thu Feb 12 13:25:43 CST 2009


Thanks for the idea.

I wonder if Mark Waddingham or one of the other wizards at RR could  
create a simple function "online()" that would do some clever, simple  
network operation and return network status without EVER hanging?

I know it's possible, Apple's network utility does this, for example.


On Feb 11, 2009, at 2:21 PM, Alex Tweedly wrote:

> Josh Mellicker wrote:
>> 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.
>>
>>
> As Andre said, ping acts differently on each system - to the extent  
> that my system (Windows Vista Home Premium) gives an error ("Bad  
> option -c") for your originally suggested command.
>
> You will probably encounter a similar probelm of ftp not being  
> available, or allowing different options, or allowing/not allowing  
> the definition of username/password in the command line, or ....   
> with this idea.
>
> I'd get around that by creating a simple, tiny Rev-based standalone  
> that does the ftp download of the test file and monitoring its  
> progress in the other process; then it sounds like a rock-solid idea.
>
> -- Alex.
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list