NetworkSocketAPI

Dependencies:   DnsQuery

Dependents:   HelloWizFi250Interface

Fork of NetworkSocketAPI by NetworkSocketAPI

Revision:
2:ce08986b18b5
Parent:
1:291a9d61e58a
Child:
3:167dd63981b6
--- a/NetworkInterface.h	Thu May 14 01:37:53 2015 +0000
+++ b/NetworkInterface.h	Tue May 19 17:40:28 2015 +0000
@@ -41,7 +41,7 @@
      *
      *    \returns 0 on success, a negative number on failure
      */
-    virtual int init(char* ip, char* mask, char *gateway) = 0;
+    virtual int init(char *ip, char *mask, char *gateway) = 0;
     
     /**
      *    Start the interface, using DHCP if needed.
@@ -53,17 +53,6 @@
     virtual int connect(unsigned int timeout_ms=15000) = 0;
     
     /**
-     *    Start the interface, specifically for wifi based hardware, using DHCP if needed. This only needs to be implemented on wifi hardware.
-     *
-     *    @param ssid The SSID of the access point
-     *    @param phrase The passphrase, if needed, to connect
-     *    @param gateway The security type of the access point
-     *
-     *    \returns 0 on success, a negative number on failure
-     */
-    virtual int connect(char* ssid, char* phrase, char* security_type) = 0;
-    
-    /**
      *    Stop the interface, bringing down dhcp if necessary.
      *
      *    \returns 0 on success, a negative number on failure