LiveCode Server latency causing empty results

Ralph DiMola rdimola at evergreeninfo.net
Thu Aug 6 11:06:31 EDT 2015


Roger,

Try set the socketTimeoutInterval to "milliseconds"
The default seems to be 10000 (10 seconds)
It also works on mobile although the docs say that this is not available on
mobile.

I set mine to "set the socketTimeoutInterval to 30000" This gives 30 seconds
for the server to respond.
If there is a timeout then empty is returned as you experienced.

Ralph DiMola
IT Director
Evergreen Information Services
rdimola at evergreeninfo.net

-----Original Message-----
From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf
Of Roger Eller
Sent: Thursday, August 06, 2015 10:24 AM
To: How to use LiveCode
Subject: LiveCode Server latency causing empty results

When the network is slow, sometimes my LC server scripts come up empty.
Resubmitting the URL request usually, but not always corrects the problem.
Is there something I can put in the script to help with this?

~Roger
_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list