Skip to content

Connection timeout for attempting to connect to MQTT server? #94

@shinglaifs

Description

@shinglaifs

Is there currently a way to set the connection timeout for attempting to connect to the MQTT server?
I realize that the current coding the mqttclient.connect() will take about 20 seconds before giving up on the attempting to connect to an IP that simply cannot be reach in the network.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions