+wxIPaddress::wxIPaddress()
+ : wxSockAddress()
+{
+}
+
+wxIPaddress::wxIPaddress(const wxIPaddress& other)
+ : wxSockAddress(other)
+{
+}
+
+wxIPaddress::~wxIPaddress()
+{
+}
+
+// ---------------------------------------------------------------------------
+// wxIPV4address
+// ---------------------------------------------------------------------------
+
+wxIPV4address::wxIPV4address()
+ : wxIPaddress()
+{
+}
+
+wxIPV4address::wxIPV4address(const wxIPV4address& other)
+ : wxIPaddress(other)
+{
+}
+
+wxIPV4address::~wxIPV4address()
+{
+}
+
+bool wxIPV4address::Hostname(const wxString& name)
+{
+ // Some people are sometimes fool.
+ if (name.empty())
+ {
+ wxLogWarning( _("Trying to solve a NULL hostname: giving up") );
+ return false;
+ }
+ m_origHostname = name;
+ return (GAddress_INET_SetHostName(m_address, name.mb_str()) == GSOCK_NOERROR);