Jump to content

Recommended Posts

Hi all,

I cant quite get my head round what's happening here.... using the following:

$p1 = Ping("",6000)
MsgBox(0, "Result", $p1)
MsgBox(0, "Error", @error)

if I target an address on the same subnet, I get a roundtrip time response. If I ping www.google.co.uk, I get a roundtrip time response. The bit that's messing with my head is, if I ping any address on a different subnet (which is routed) I get a 0 roundtrip time (even with a 10000 timeout) but also a @error response of 0. I am able to ping the addresses from a command line

does anyone have any explanation for this?

Thanks for looking

[font='Comic Sans MS']Eagles may soar high but weasels dont get sucked into jet engines[/font]

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...