Derived from
Include files
<wx/socket.h>
Members
wxIPV4address::Hostname
wxIPV4address::Hostname
wxIPV4address::Service
wxIPV4address::Service
wxIPV4address::Service
wxIPV4address::LocalHost
bool Hostname(const wxString& hostname)
Use the specified hostname for the address.
Return value
Returns FALSE if something bad happens (invalid hostname, invalid IP address).
wxString Hostname()
Returns the hostname which matches the IP address.
bool Service(const wxString& service)
Use the specified service string for the address.
Return value
Returns FALSE if something bad happens (invalid service).
bool Service(unsigned short service)
Use the specified service for the address.
Return value
Returns FALSE if something bad happens (invalid service).
unsigned short Service()
Returns the current service.
bool LocalHost()
Initialize peer host to local host.
Return value
Returns FALSE if something bad happens.