esp8266-wiki
esp8266-wiki copied to clipboard
How to set timeouts for WiFiClient::printf()
Is there an example of how to send a WiFiClient::printf() (e.g. for an HTTP GET) and have it timeout if either the connection closes or the peer doesn't respond within some time?)
I regularly have cases where the printf() does not return for 10s or longer.