Jump to content

Recommended Posts

Posted

hey all whenever i try to Ping any host it returns an @error of 1, and I have used well-known sites like Google and such. Obviously my internet still works... any suggestions?

  • Developers
Posted

no...

thats the wierd thing. My internet works but not ping from the program or from cmd

ok... you were expecting miracles from AutoIt3 :P

Many PC's/Server prevent ICMP packets these days. You could try to open a Port on the server to see if its "alive".

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Posted

$p = Ping("www.google.com", 250)
MsgBox(0, "", $p)

Returns 0 for me. My network works fine, it may be my works' firewall blocking ICMP I'm not sure. So can I open ports in AutoIt?

Posted

Is this the only way to test a network connection? When I test using TCPConnect I need the result back fairly quick and for some reason there is a lengthy delay of probably 10 seconds or longer. I need to test whether or not a VPN connection is open or ping a machine on the other side of the VPN connection or something to that effect. But the results are needed quickly.....

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
×
×
  • Create New...