NetworkSocketAPI

Dependencies:   DnsQuery

Dependents:   HelloWizFi250Interface

Fork of NetworkSocketAPI by NetworkSocketAPI

Branch:
api-changes
Revision:
23:1e86d9fb3d86
Parent:
21:35ed15069189
Child:
25:ed7b2a52e8ac
--- a/NetworkInterface.h	Thu Feb 18 03:29:39 2016 -0600
+++ b/NetworkInterface.h	Thu Feb 18 04:05:09 2016 -0600
@@ -28,7 +28,8 @@
 class NetworkInterface
 {
 public:
-    virtual ~NetworkInterface() = default;
+    NetworkInterface();
+    virtual ~NetworkInterface();
 
 
     /** Enables DHCP and clears any static address
@@ -75,7 +76,7 @@
     /** Get the current status of the interface
         @return true if connected
      */
-    virtual bool isConnected(void) = 0;
+    virtual bool isConnected(void);
 
 
 private:
@@ -95,9 +96,9 @@
     virtual void destroySocket(SocketInterface *socket) = 0;
 
 private:
-    const char *_ip_address;
-    const char *_network_mask;
-    const char *_gateway;
+    char *_ip_address;
+    char *_network_mask;
+    char *_gateway;
 };
 
 #endif