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.
Dependencies: DnsQuery
Dependents: WizFi310_TCP_Echo_Server_Example
Fork of NetworkSocketAPI by
Diff: NetworkInterface.cpp
- Branch:
- api-changes
- Revision:
- 43:09ea32f2eb54
- Parent:
- 42:49893d13c432
- Child:
- 52:52a6c4ea7128
diff -r 49893d13c432 -r 09ea32f2eb54 NetworkInterface.cpp
--- a/NetworkInterface.cpp Tue Feb 23 05:07:02 2016 -0600
+++ b/NetworkInterface.cpp Wed Feb 24 22:04:19 2016 -0600
@@ -20,7 +20,6 @@
#include <string.h>
NetworkInterface::NetworkInterface()
- : _timeout(15000)
{
memset(_ip_address, 0, NS_IP_SIZE);
memset(_network_mask, 0, NS_IP_SIZE);
@@ -76,16 +75,6 @@
}
}
-void NetworkInterface::setTimeout(uint32_t timeout)
-{
- _timeout = timeout;
-}
-
-uint32_t NetworkInterface::getTimeout()
-{
- return _timeout;
-}
-
bool NetworkInterface::isConnected()
{
return getIPAddress() != 0;
