pefect / NetworkSocketAPI

Dependencies:   DnsQuery

Dependents:   WizFi310_TCP_Echo_Server_Example

Fork of NetworkSocketAPI by NetworkSocketAPI

Branch:
api-changes
Revision:
24:a5e959bdd2dd
Parent:
23:1e86d9fb3d86
Child:
26:9774a2edad71
--- a/SocketInterface.h	Thu Feb 18 04:05:09 2016 -0600
+++ b/SocketInterface.h	Thu Feb 18 04:09:00 2016 -0600
@@ -40,6 +40,12 @@
     virtual ~SocketInterface();
 
 
+    /** Set the URL of the socket
+     *  Performs DNS lookup if necessary
+     *  @param url URL to connect to
+     */
+    virtual void setURL(const char *url) = 0;
+
     /** Set the IP address of the socket
      *  @param ip IP address to connect to, copied internally
      */