diff options
Diffstat (limited to 'networkAddress.h')
-rw-r--r-- | networkAddress.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/networkAddress.h b/networkAddress.h index e4f5064..1192fb3 100644 --- a/networkAddress.h +++ b/networkAddress.h @@ -37,6 +37,7 @@ #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> +#include <string> enum network_address_type_t { @@ -57,6 +58,7 @@ public: void setNetworkAddress(const network_address_type_t type, const char * address ); void getNetworkAddress(const char *); network_address_type_t getNetworkAddressType(); + std::string toString() const; bool operator<(const NetworkAddress &s) const; NetworkAddress operator&(const NetworkAddress &s) const; NetworkAddress operator&=(const NetworkAddress &s); |