NetworkSocketAPI

Dependencies:   DnsQuery

Dependents:   HelloWizFi250Interface

Fork of NetworkSocketAPI by NetworkSocketAPI

Files at this revision

API Documentation at this revision

Comitter:
Christopher Haster
Date:
Mon Feb 22 23:52:09 2016 -0600
Branch:
api-changes
Parent:
39:47138420ea42
Child:
41:3ec1c97e9bbf
Commit message:
Moved DHCP resolution to connect method

Changed in this revision

NetworkInterface.h Show annotated file Show diff for this revision Revisions of this file
--- a/NetworkInterface.h	Mon Feb 22 21:50:15 2016 -0600
+++ b/NetworkInterface.h	Mon Feb 22 23:52:09 2016 -0600
@@ -31,10 +31,10 @@
 {
 public:
     /** Enables DHCP and clears any static address
+     *  DHCP resolution does not occur until connect call
      *  DHCP is enabled by default
-     *  @return 0 on success
      */
-    virtual int32_t useDHCP();
+    virtual void useDHCP();
 
     /** Set the static IP address of the network interface
      *  @param ip Static IP address, copied internally