Sign in to follow this  
Followers 0
yoop

ping function is not working on vista

8 posts in this topic

i just tested the same script on my xp and my vista machine, and on the vista it just returns 0 as ping, where on the xp it returns the a ping between 150 to 200, what is the problem there ?

my function looks like:

$pingtomysite=ping("http://www.google.com", 4000)

Share this post


Link to post
Share on other sites



it might just be from a firewall muttley check that first and then try again


Only two things are infinite, the universe and human stupidity, and i'm not sure about the former -Alber EinsteinPractice makes perfect! but nobody's perfect so why practice at all?http://forum.ambrozie.ro

Share this post


Link to post
Share on other sites

it might just be from a firewall muttley check that first and then try again

no, i turned it off completely i tried everything, it seems that the function doesnt work on vista ?

Share this post


Link to post
Share on other sites

Agreed. Doesn't work for me on Vista Ultimate.

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

i just tested the same script on my xp and my vista machine, and on the vista it just returns 0 as ping, where on the xp it returns the a ping between 150 to 200, what is the problem there ?

my function looks like:

$pingtomysite=ping("http://www.google.com", 4000)

Doesn't work for me neither on WinXP but the below does as you specified an URL in stead of a valid HostName:

$pingtomysite = Ping("www.google.com", 4000)

Jos muttley

Edited by Jos

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Did anyone ever get this working? I've tried the WMI_Ping and not getting response time either...

Need to have some way of getting ping results.

Thanks,

Terry

Share this post


Link to post
Share on other sites

Did anyone ever get this working? I've tried the WMI_Ping and not getting response time either...

Need to have some way of getting ping results.

Thanks,

Terry

What doesn't work?

As mentioned in the last post: It does work when using a proper hostname in stead of an URL.

Jos


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


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
Sign in to follow this  
Followers 0