bluemurder / esp8266-ping

Arduino library handling ping messages for the esp8266 platform
MIT License
31 stars 11 forks source link

No error on pinging unreachable host #2

Closed sigmdel closed 6 years ago

sigmdel commented 6 years ago

There is a small problem with the library. When pinging a non existing host on the local area network using an IP address, the library returns 0 and not -1. As a result the example program says that the host was reached in 0ms.

Regards.

bluemurder commented 6 years ago

Thank you for your report. I'll fix it as soon as possible.

bluemurder commented 6 years ago

Please try with last available 1.1.0 version, thank you

sigmdel commented 6 years ago

Everything is fine with the new version. The ping function returns a correct value for reachable and unreachable hosts specified as IP addresses or names. Great.

Thank you