libUrl tsNet and socketTimeoutInterval

Sannyasin Brahmanathaswami brahma at hindu.org
Wed Dec 6 14:00:11 EST 2017


Matthias Rebbe wrote:

    The connection ID is only used/needed when you use the asynchronous commands of tsNet.   The synchronous commands like tsNetUploadSync or tsNetFileUploadSync or others (they are ending with Sync) do not use connectionIDs. And i assume that put URL and get URL are using the synchronous commands.
    Matthias
-------
OK then…. if we do this:

1) tsNetSetTimeouts 60, 3000, 3000 , , 3, 12000

2) get url….

3) how do we trap the SocketTimeOut  whose syntax requires a socketID

from dictionary: 

Syntax:

socketTimeout pSocketID

?





More information about the Use-livecode mailing list