Ping will not work. Some firewalls will prevent ICMP packets to and or from a source. If this library is to be used universally, you need a better method to determine if a device is responding on a known port.
The tried and true method for doing this is telnet. Unfortunately, Microsoft decided NOT to enable the telnet client on Windows 8 and above. It has to be enabled by an end user. If you can create your own telnet stack, then it's doable. telnet <ipaddress> <portnumber> check the result. Bob S > On Jul 2, 2017, at 18:53 , Sannyasin Brahmanathaswami via use-livecode > <use-livecode@lists.runrev.com> wrote: > > Can anyone share their "test bandwidth" library? > > I'm looking for both > > 1) this phone is off line > --easy enough… ping your server, no response, = off line > > 2) check for bandwidth speed below some threshold and then inform user > -- be patient, your internet speed is slow, this may take time. > > anyone already invent this wheel yet? > > BR _______________________________________________ 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