DongEun Koak / NetworkSocketAPI

Dependencies:   DnsQuery

Dependents:   HelloWizFi250Interface

Fork of NetworkSocketAPI by NetworkSocketAPI

Branch:
api-changes
Revision:
38:157fb2ab965f
Parent:
36:eab792dfb0d8
Child:
41:3ec1c97e9bbf
--- a/SocketInterface.h	Tue Feb 23 17:35:56 2016 +0000
+++ b/SocketInterface.h	Mon Feb 22 20:51:09 2016 -0600
@@ -46,6 +46,11 @@
      */
     virtual void setPort(uint16_t port);
 
+    /** Status of the socket
+     *  @return True if connected
+     */
+    virtual bool isConnected();
+
     /** Open a connection to the underlying address
      *  @param ip IP address to connect to
      *  @param port Port to connect to