Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of ESP8266Interface by
Diff: Socket/Endpoint.h
- Revision:
- 30:c035696b9397
- Parent:
- 16:3f0efaa57a12
- Child:
- 31:fd0eaf273b11
--- 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; };