Dear all,
I need to Ping an IP to check if my VPS is alive or not. I want to code with EA mql, of course !
I try to use ShellExecuteA, it can call cmd.exe then ping.
Unfortunately, ShellExecuteA does not return value of ping's result.
Is there any other way that we can check if my VPS SERVER IS ALIVE or not ?
Thank you very much !
Hi,
If you like beta testing, please test this script, if you (or anyone else) find a bug, write here.Regards!
Dear erzo,
Please attach Iphlpapi.dll and Ws2_32.dll.
Thank you for your help
Regards!
Sorry, I have Windows Xp and I have them in Windows/system32 by default. Check it first before download. Links:
@erzo,
it works perfectly !
Thank you very much erzo!
I get Icmp: Error, Status = 0: General failure.
I can ping from cmd line, and the test IP is on my network and pingable.
Not sure what is wrong.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Dear all,
I need to Ping an IP to check if my VPS is alive or not. I want to code with EA mql, of course !
I try to use ShellExecuteA, it can call cmd.exe then ping.
Unfortunately, ShellExecuteA does not return value of ping's result.
Is there any other way that we can check if my VPS SERVER IS ALIVE or not ?
Thank you very much !