ESP8266Ping
ESP8266Ping copied to clipboard
[Feature Request] Timeout for ping
@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);