Re: Load timeout freeze delay
The problem: If mc starts up with an internet connection that is cancelled then resumed, both the 'url and 'load' command involve the script waitings until the request fails (takes about 30 seconds) before executing the next line. Kevin wrote: 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. I'm not a 'socket person'. Does anyone have such a wee beast available? On a related note, 'url' and 'load' fail when connecting to the internet AFTER mc has started up, requiring the user to exit completely and re-launch. Seems a bit harsh! /H Hugh Senior The Flexible Learning Company Consultant Programming Software Solutions Fax/Voice: +44 (0)1483.27 87 27 Email: [EMAIL PROTECTED] Web: www.flexibleLearning.com Archives: http://www.mail-archive.com/metacard@lists.runrev.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
Re: Load timeout freeze delay
On 3/2/01 12:29 pm, Hugh Senior [EMAIL PROTECTED] wrote: Is there any way to reduce the timeout for the load and url commands? Problem: If you have an internet connection when mc starts up, then disconnect, using either of these commands involves an unacceptably long 30 second delay before the script continues (ie the program appears to freeze but hasn't). The same apparent freeze delay occurs even if you reconnect. Kevin answered: 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. /H Hugh Senior The Flexible Learning Company Consultant Programming Software Solutions Fax/Voice: +44 (0)1483.27 87 27 Email: [EMAIL PROTECTED] Web: www.flexibleLearning.com Archives: http://www.mail-archive.com/metacard@lists.runrev.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.