43 #ifndef _networkipaddress_h
44 #define _networkipaddress_h
71 virtual bool VerifyAddress(
const String& Addr) = 0;
79 virtual void SetAddress(
const String& Address);
82 virtual String GetAddressAsString()
const;
85 virtual char* GetAddressAsCString()
const;
92 virtual const String& GetHostName()
const;
95 virtual IPAddress::IPVersion GetVersion()
const = 0;
104 class MEZZ_LIB IPAddress_4 :
public IPAddress
108 virtual bool VerifyAddress(
const String& Addr);
113 virtual ~IPAddress_4();
116 virtual void SetAddress(const UInt32& Address);// */
118 virtual IPAddress::IPVersion GetVersion()
const;
127 class MEZZ_LIB IPAddress_6 :
public IPAddress
131 virtual bool VerifyAddress(
const String& Addr);
136 virtual ~IPAddress_6();
138 virtual IPAddress::IPVersion GetVersion()
const;