Internet library and LC9
Paul Dupuis
paul at researchware.com
Wed May 16 13:34:25 EDT 2018
I am transitioning some applications that were built as standalone
under LC6.7.11 to LC 9.0.0. In most cases, the migrations are going
well with mostly appearance issues (due to different default fonts and
such).
This week, I have encountered a functional issue. An app (stack) I have,
as part of the startup sequence, sends a message that fetches a small
text file on a server, essentially "put URL tURL into tVar". This was
working fine under LC6.7.11 with no noticeable delay on both Window
(8.1) and OSX (Mavericks). Now, when built under LC9.0.0, under OSX, the
internet action takes many seconds to respond - sometimes as much as 30
seconds or more. Nothing has changed on the OSX box. This is a pure LC6
to 9 changes issue. Testing suggests that it is the first internet call
under OSX takes a long time and then all subsequent calls are as speedy
as you would expect.
I know LC9 uses tsNet vs the old Internet library. Does tsNet take some
time to initialize under OSX? or is there some call you need to make to
pre-initialize tsNet? Anyone run into anything like this and have any
suggestions or work-arounds?
More information about the use-livecode
mailing list