pefect / NetworkSocketAPI

Dependencies:   DnsQuery

Dependents:   WizFi310_TCP_Echo_Server_Example

Fork of NetworkSocketAPI by NetworkSocketAPI

Branch:
api-changes
Revision:
26:9774a2edad71
Parent:
24:a5e959bdd2dd
Child:
27:d7ed39727306
--- a/SocketInterface.h	Thu Feb 18 06:01:55 2016 -0600
+++ b/SocketInterface.h	Thu Feb 18 06:16:11 2016 -0600
@@ -36,10 +36,6 @@
 class SocketInterface
 {
 public:
-    SocketInterface();
-    virtual ~SocketInterface();
-
-
     /** Set the URL of the socket
      *  Performs DNS lookup if necessary
      *  @param url URL to connect to
@@ -95,6 +91,10 @@
      */
     virtual int32_t recv(void *data, uint32_t len, uint32_t timeout_ms) = 0;
 
+protected:
+    SocketInterface();
+    virtual ~SocketInterface();
+
 private:
     char *_ip_address;
     uint16_t _port;