Reference Language | Libraries | Comparison | Changes
Set the timeout for client.connect()
and client.stop()
. The initial value is 1000 ms. You might prefer to set a lower timeout value to make your program more responsive in the event something goes wrong.
client.setConnectionTimeout(milliseconds)
milliseconds: the timeout duration for client.connect()
and client.stop()
(uint16_t)
Nothing
Corrections, suggestions, and new documentation should be posted to the Forum.
The text of the Arduino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.