Skip to content

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

Open
@dalbert2

Description

@dalbert2

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions