Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set timeouts for WiFiClient::printf() #84

Open
dalbert2 opened this issue Feb 18, 2020 · 0 comments
Open

How to set timeouts for WiFiClient::printf() #84

dalbert2 opened this issue Feb 18, 2020 · 0 comments

Comments

@dalbert2
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant