On 4/2/01 3:18 pm, Hugh Senior <[EMAIL PROTECTED]> wrote:
>> Use the load command instead, and if it hasn't loaded after a reasonable
>> period of time (i.e. the status is still "requested") then cancel it.
>
> As indicated, in both cases above including 'load', the script waits until
> the request fails (takes about 30 seconds) before executing the next line.
Hm - doesn't seem to do that here. It might be that your Internet
connection is completely down (not just slow). Not sure: how about checking
if there is a connection before running the load command? E.g. use sockets
to perform a simple download of something and set the socketTimeOutInterval
to be very short.
Regards,
Kevin
Kevin Miller <[EMAIL PROTECTED]> <http://www.runrev.com/>
Runtime Revolution Limited (formerly Cross Worlds Computing).
Tel: +44 (0)131 672 2909. Fax: +44 (0)1639 830 707.
Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.