Jump to content

Ping is not working when VPN is on


Maintel
 Share

Recommended Posts

  • 4 weeks later...

Code? I simple used "ping" command... For example I tried it now with code from Help, still error 2 on VPN.

#include <MsgBoxConstants.au3>
$iPing = Ping("autoitscript.com", 250)
If $iPing Then ; If a value greater than 0 was returned then display the following message.
 MsgBox($MB_SYSTEMMODAL, "", "The roundtrip-time took: " & $iPing & "ms.")
Else
 MsgBox($MB_SYSTEMMODAL, "", "An error occurred with @error value of: " & @error)
EndIf

Edited by Maintel
Link to comment
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
 Share

×
×
  • Create New...