A little late to the respond on this but I’d send a HTTP HEAD request. You will 
get a 200 response back with no data if you have an http connection to the url 
you specify. You could use your own server to send the request to but it is 
common to use a well known service such as google to send the HEAD request to 
also.

The Liveocde lesson at the link below shows how you can send a DELETE request 
using tsNetCustomSync. You’ll have to modify the script slightly to work for 
the HEAD request.

http://lessons.livecode.com/m/4071/l/856543-how-to-send-a-custom-http-request-using-the-tsnet-external
 
<http://lessons.livecode.com/m/4071/l/856543-how-to-send-a-custom-http-request-using-the-tsnet-external>

Bob Hall

> On Jul 28, 2018, at 12:42 PM, Douglas Ruisaard via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> Bob...
> 
> Wondering if you would post the windows-version of this technique again... or 
> copy it to this forum, ideally?
> 
> The dropbox entry I can find is expired.
> 
> 
>> Subject: Re: Checking if internet is connected using tsNet?
>> 
>> And don't forget my telnet technique. Telnet will tell you if there is a 
>> basic connection without "actually" connecting with a 
>> protocol of any sort. So it doesn't suffer from any of the built in timeouts 
>> that web protocols must have to work properly. 
> 
>> Bob S
> 
> 
> Douglas Ruisaard
> Trilogy Software
> (250) 573-3935
> 
> 
> 
> 
> _______________________________________________
> 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