.\" This is a wxWidgets manpage page generated from the XML docs .TH wxIPaddress 3wx 2005-02-15 "wxWidgets" "wxWidgets class documentation" .SH NAME wxIPaddress \- Represents an Internet address .SH DESCRIPTION wxIPaddress is an abstract base class for all internet protocol address objects. Currently, only wxIPV4address is implemented. An experimental implementation for IPV6, wxIPV6address, is being developed. .SH "PARENTS" wxSockAddress .SH "INCLUDE FILES" wx/socket.h .SH MEMBERS .SS virtual bool Hostname (const wxString& hostname) Set the address to hostname , which can be a host name or an IP-style address in a format dependent on implementation. .SS virtual wxString Hostname () Returns the hostname which matches the IP address. .SS virtual wxString IPAddress () Returns a wxString containing the IP address. .SS virtual bool Service (const wxString& service) Set the port to that corresponding to the specified service . .SS virtual bool Service (unsigned short service) Set the port to that corresponding to the specified service . .SS virtual unsigned short Service () Returns the current service. .SS virtual bool AnyAddress () Internally, this is the same as setting the IP address to INADDR_ANY . On IPV4 implementations, 0.0.0.0 On IPV6 implementations, :: .SS virtual bool LocalHost () Set address to localhost. On IPV4 implementations, 127.0.0.1 On IPV6 implementations, ::1 .SS virtual bool IsLocalHost () Determines if current address is set to localhost. .SH "SEE ALSO" wxSockAddress .SH "AUTHORS" Documentation content by Julian Smart, Robert Roebling, Vadim Zeitlin, Robin Dunn, et al Conversion to manpage format by Arnout Engelen (http://bzzt.net), bugreports welcome.