On Wed, Feb 22, 2017 at 03:50:16PM +0000, steve-ALUG@hst.me.uk wrote:
On 22/02/17 15:25, Chris Green wrote:
On Wed, Feb 22, 2017 at 02:22:17PM +0000, Laurie Brown wrote: You've illustrated my problem perfectly! That 3 seconds delay is the same delay I see using my original ping method.
I need to find out, fast, if 192.168.0.104 isn't on the LAN I'm connected to. To do this I have to run your second case above which takes, like my ping, 3 seconds to execute.
[SNIP] Makes no difference at all. The hostIsLocal command will take 3 seconds to fail when it's not local and I'm no better off.
Why is a 3 second delay a problem?
Because I get fed up waiting! :-) It's not a disaster by any means, just annoying.