Ok, I just got async tsNet working in IDE and Android(Testing iOS later). I works great! Hat tip to all the contributors. One question and one Observation: 1) How do you query the current tsNet timeout settings? I have quite a few places where I save the socketTimeoutInterval, set it to a new value, do something and then set it back to the saved timeout. I don't see a way to query this in the dictionary. 2) I seems the you don't need to do a "tsNetInit" in the IDE. In the IDE one gets "tsneterr: Already initialized". On Android this error does not occur.
Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Charles Warwick via use-livecode Sent: Thursday, December 07, 2017 4:53 PM To: How to use LiveCode Cc: Charles Warwick Subject: Re: libUrl tsNet and socketTimeoutInterval Sorry for the confusion, tsNet does handle the ‘load’ function, effectively using its own asynchronous functions to replicate standard libUrl behaviour. > On 8 Dec 2017, at 6:44 am, Sannyasin Brahmanathaswami via use-livecode > <use-livecode@lists.runrev.com> wrote: > > Thanks Charles…we have enough to go on now. > > well, almost > > if I read you right "load" is not handled by TSNet (since that is libURL's > own asynchronous operation?) > > > > > www.himalayanacademy.com <http://www.himalayanacademy.com> Get the SivaSiva > App today (for iPhone and iPad) > https://itunes.apple.com/us/app/sivasiva/id1271260502?mt=8 > > > > > On 12/6/17, 10:43 PM, "use-livecode on behalf of Charles Warwick via > use-livecode" <use-livecode-boun...@lists.runrev.com on behalf of > use-livecode@lists.runrev.com> wrote: > > Sorry, divide my figures for the last parameter to tsNetSetTimeouts by 8, > it has been a long day > > _______________________________________________ > 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 _______________________________________________ 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