I was trying to ping google.com, and it was working fine but then I tried pinging a wrong domain name and it still came out fine.
if(Ping.ping("www.goog32143234114le.com")){
ifdef DEBUG
Serial.println(Ping.averageTime());
Serial.print("Success! ");
Serial.print(minuteBetweenCheck);
Serial.println(" minutes");
#endif
vpnFails=0; // if the ping is OK , the we reset the vpn and google fails counter
googleFails=0;
}
Serial :
Success! Will try ping again in 1 minutes
Pinging vpn Server www.google.com
1
Success! Will try ping again in 1 minutes
Pinging vpn Server www.google.com
2
Success! Will try ping again in 1 minutes
Pinging vpn Server www.google.com
1
Success! Will try ping again in 1 minutes
Pinging vpn Server www.google.com
6
Success! Will try ping again in 1 minutes
Pinging vpn Server www.google.com
2
Success! Will try ping again in 1 minutes
Pinging vpn Server www.google.com
1
Hi,
I was trying to ping google.com, and it was working fine but then I tried pinging a wrong domain name and it still came out fine.
if(Ping.ping("www.goog32143234114le.com")){
ifdef DEBUG
Serial :
Success! Will try ping again in 1 minutes Pinging vpn Server www.google.com 1 Success! Will try ping again in 1 minutes Pinging vpn Server www.google.com 2 Success! Will try ping again in 1 minutes Pinging vpn Server www.google.com 1 Success! Will try ping again in 1 minutes Pinging vpn Server www.google.com 6 Success! Will try ping again in 1 minutes Pinging vpn Server www.google.com 2 Success! Will try ping again in 1 minutes Pinging vpn Server www.google.com 1