Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: HelloWizFi250Interface
Fork of NetworkSocketAPI by
Diff: SocketInterface.cpp
- Branch:
- api-changes
- Revision:
- 41:3ec1c97e9bbf
- Parent:
- 38:157fb2ab965f
--- a/SocketInterface.cpp Mon Feb 22 23:52:09 2016 -0600
+++ b/SocketInterface.cpp Tue Feb 23 04:01:38 2016 -0600
@@ -16,9 +16,10 @@
#include "SocketInterface.h"
-// By default setIPAddress/setPort has no special behaviour
-void SocketInterface::setIPAddress(const char *ip) {}
-void SocketInterface::setPort(uint16_t port) {}
+// By default set hooks have no special behaviour
+void SocketInterface::setIPAddress(const char *) {}
+void SocketInterface::setPort(uint16_t) {}
+void SocketInterface::setTimeout(uint32_t) {}
// By default isConnected is always true if the socket
// was created successfully
