Hi Ralf,

In the current versions of tsNet, tsNetInit can potentially return before it is completely initialised (the initialisation completes on another thread).


You can work around this by waiting for a short period of time after tsNetInit is called before calling any other tsNet functions.

The next version of tsNet will ensure that the external is always fully initialised before any calls to tsNetInit return.

On another note, there is currently a bug affecting the use of tsNet in LiveCode server on OS X (it works fine on Linux). The next version of tsNet will also address that issue.

Cheers,

Charles


On 18/10/2016 12:38 AM, Ralf Bitter wrote:
Is the tsNet external working with LiveCode server?

Did tests using server version 8.1.1 rc2 on Mac OS X 10.11.6.
Seems that initialization (tsNetInit) doesn't work.
The result of tsNetGetSync is "tsneterr: Not initialised" although
tsNetInit is called prior to calling any other tsNet handlers as
described in the docs.


Ralf

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



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

Reply via email to