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.
Dependents: NetRelais TCP_Client_Example TCP_Server_Example UDP_Server_Example ... more
Diff: ip/address.hpp
- Revision:
- 3:d30db8752485
- Parent:
- 2:e283a0062097
- Child:
- 8:cdee0f2b6ff0
diff -r e283a0062097 -r d30db8752485 ip/address.hpp
--- a/ip/address.hpp Tue Jul 17 18:31:22 2012 +0000
+++ b/ip/address.hpp Wed Jul 18 11:22:37 2012 +0000
@@ -39,7 +39,7 @@
{
public:
static const int Any = (int)0x00000000;
- static const int Loopback = (int)0x7f000001;
+ static const int Loopback = (int)0x0100007f;
static const int Broadcast = (int)0xffffffff;
protected:
@@ -59,9 +59,11 @@
int fromHostname(const char *hostname);
int fromHostname(const std::string &hostname);
- void fromNative(const int address);
+ void fromNative(int address);
int toNative();
+ bool isEmpty();
+
Address &operator=(const Address &other);
bool operator==(const Address &other);