+// An IPv4 address
+class WXDLLIMPEXP_NET wxIPV4address : public wxIPaddress
+{
+public:
+ wxIPV4address() : wxIPaddress() { }
+ wxIPV4address(const wxIPV4address& other) : wxIPaddress(other) { }
+
+ // implement wxSockAddress pure virtuals:
+ virtual Family Type() { return IPV4; }
+ virtual wxSockAddress *Clone() const { return new wxIPV4address(*this); }
+
+
+ // implement wxIPaddress pure virtuals:
+ virtual bool IsLocalHost() const;
+
+ virtual wxString IPAddress() const;
+
+
+ // IPv4-specific methods:
+ bool Hostname(unsigned long addr);
+
+ // make base class methods hidden by our overload visible
+ //
+ // FIXME-VC6: replace this with "using IPAddress::Hostname" (not supported
+ // by VC6) when support for it is dropped
+ wxString Hostname() const { return wxIPaddress::Hostname(); }
+ bool Hostname(const wxString& name) { return wxIPaddress::Hostname(name); }
+
+ bool BroadcastAddress();
+