for testing wifi

Dependents:   ESP8266_Test_WIFI

Fork of ESP8266Interface by Steve Kim

Revision:
30:c035696b9397
Parent:
16:3f0efaa57a12
Child:
31:fd0eaf273b11
diff -r 939372104145 -r c035696b9397 Socket/Endpoint.h
--- a/Socket/Endpoint.h	Tue Apr 28 20:17:51 2015 +0000
+++ b/Socket/Endpoint.h	Wed Apr 29 22:43:03 2015 +0000
@@ -55,10 +55,16 @@
     \return The port of this endpoint
      */
     int get_port(void);
+    
+    /** Get the id of this endpoint
+    \return The id of this endpoint
+     */
+    int get_id(void);
 
 protected:
     char _ipAddress[16];
     int _port;
+    int _id = -1;
     
     ESP8266 * ESP8266;
 };