diff --git a/libraries/SocketWrapper/src/MbedClient.cpp b/libraries/SocketWrapper/src/MbedClient.cpp index 49265c002..9df13c5d5 100644 --- a/libraries/SocketWrapper/src/MbedClient.cpp +++ b/libraries/SocketWrapper/src/MbedClient.cpp @@ -310,6 +310,6 @@ uint16_t arduino::MbedClient::remotePort() { return address.get_port(); } -void arduino::MbedClient::setTimeout(unsigned long timeout) { +void arduino::MbedClient::setSocketTimeout(unsigned long timeout) { _timeout = timeout; } diff --git a/libraries/SocketWrapper/src/MbedClient.h b/libraries/SocketWrapper/src/MbedClient.h index eca0e5a34..cd9929839 100644 --- a/libraries/SocketWrapper/src/MbedClient.h +++ b/libraries/SocketWrapper/src/MbedClient.h @@ -97,7 +97,7 @@ class MbedClient : public arduino::Client { IPAddress remoteIP(); uint16_t remotePort(); - void setTimeout(unsigned long timeout); + void setSocketTimeout(unsigned long timeout); friend class MbedServer; friend class MbedSSLClient;