ESP8266Ping icon indicating copy to clipboard operation
ESP8266Ping copied to clipboard

[Feature Request] Timeout for ping

Open pranjal-joshi opened this issue 5 years ago • 0 comments

@dancol90 Hello, Is there any method to set timeout while pinging? If the ping is not received within the timeout, return as HOST_UNREACHABLE. I really need the timeout feature for my application where ESP needs to figure whether the network is connected to the internet or not. Something like following will be nicer to have:

Ping.setTimeout(ms);
bool status = Ping.ping(HOST);

pranjal-joshi avatar Jun 05 '20 15:06 pranjal-joshi