NetworkSocketAPI
Dependents: HelloWizFi250Interface
Fork of NetworkSocketAPI by
Diff: NetworkInterface.cpp
- Branch:
- api-changes
- Revision:
- 43:09ea32f2eb54
- Parent:
- 42:49893d13c432
- Child:
- 52:52a6c4ea7128
--- 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;