modified by ohneta

Dependents:   HelloESP8266Interface_mine

Fork of NetworkSocketAPI by NetworkSocketAPI

Revision:
14:9e1bd182ef07
Parent:
13:f84e69b3fdd3
Child:
16:658d4943c753
--- a/SocketInterface.h	Fri Jul 17 23:14:01 2015 +0000
+++ b/SocketInterface.h	Wed Jul 22 20:16:57 2015 +0000
@@ -138,9 +138,15 @@
         @return 0 on success, -1 on failure (when an hostname cannot be resolved by DNS).
      */
     virtual int32_t close() const = 0;
+    
+    /** Get the socket's unique handle
+        @return socket's handle number
+    */
+    virtual uint32_t getHandle() const = 0;
+    
 protected:
     socket_protocol_t _type;
-
+    uint32_t _handle;
 };
 
 #endif