NetworkSocketAPI

Dependencies:   DnsQuery

Dependents:   HelloWizFi250Interface

Fork of NetworkSocketAPI by NetworkSocketAPI

Branch:
api-changes
Revision:
28:163fbe3263f4
Parent:
27:d7ed39727306
Child:
31:7f15b95f2a1d
--- a/SocketInterface.h	Thu Feb 18 09:20:39 2016 -0600
+++ b/SocketInterface.h	Thu Feb 18 13:19:47 2016 -0600
@@ -53,17 +53,6 @@
      */
     virtual void setPort(uint16_t port);
 
-    /** Get the IP address
-     *  @return IP address to connect to
-     */
-    virtual const char *getIPAddress();
-
-    /** Get the port
-     *  @return Port to connect to
-     */
-    virtual uint16_t getPort();
-
-
     /** Open a connection to the underlying address
      *  Only used for TCP sockets
      *  @return 0 on success
@@ -91,14 +80,6 @@
      *  @return Number of bytes sent or a negative value on failure
      */
     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;
 };
 
 #endif