pefect / NetworkSocketAPI

Dependencies:   DnsQuery

Dependents:   WizFi310_TCP_Echo_Server_Example

Fork of NetworkSocketAPI by NetworkSocketAPI

Branch:
api-changes
Revision:
27:d7ed39727306
Parent:
26:9774a2edad71
Child:
28:163fbe3263f4
--- a/SocketInterface.h	Thu Feb 18 06:16:11 2016 -0600
+++ b/SocketInterface.h	Thu Feb 18 09:20:39 2016 -0600
@@ -39,8 +39,9 @@
     /** Set the URL of the socket
      *  Performs DNS lookup if necessary
      *  @param url URL to connect to
+     *  @return 0 on success
      */
-    virtual void setURL(const char *url) = 0;
+    virtual int32_t setURL(const char *url) = 0;
 
     /** Set the IP address of the socket
      *  @param ip IP address to connect to, copied internally