koresho Posted November 11, 2007 Share Posted November 11, 2007 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? Link to comment Share on other sites More sharing options...
Developers Jos Posted November 11, 2007 Developers Share Posted November 11, 2007 does a regular ping from the commandline work? 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. Link to comment Share on other sites More sharing options...
koresho Posted November 11, 2007 Author Share Posted November 11, 2007 no... thats the wierd thing. My internet works but not ping from the program or from cmd Link to comment Share on other sites More sharing options...
Generator Posted November 12, 2007 Share Posted November 12, 2007 Some website prevent from over flooding. Link to comment Share on other sites More sharing options...
Developers Jos Posted November 12, 2007 Developers Share Posted November 12, 2007 no... thats the wierd thing. My internet works but not ping from the program or from cmdok... you were expecting miracles from AutoIt3 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. Link to comment Share on other sites More sharing options...
koresho Posted November 12, 2007 Author Share Posted November 12, 2007 heh Alright, how do I do that? opening port 80 should work, right? however I dont know how to do that in AutoIt Link to comment Share on other sites More sharing options...
Shyke Posted November 12, 2007 Share Posted November 12, 2007 $iPing = Ping("www.google.com", 250) MsgBox(0, "", $iPing) That doesn't return some number between 1 and 250? Link to comment Share on other sites More sharing options...
koresho Posted November 12, 2007 Author Share Posted November 12, 2007 $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? Link to comment Share on other sites More sharing options...
Developers Jos Posted November 12, 2007 Developers Share Posted November 12, 2007 Have you checked the Helpfile ? TCPConnect () 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. Link to comment Share on other sites More sharing options...
waldo Posted November 12, 2007 Share Posted November 12, 2007 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..... Link to comment Share on other sites More sharing options...
koresho Posted November 13, 2007 Author Share Posted November 13, 2007 haha works perfectly. thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now