#include <inetaddress.h>
|
static InetAddressList | getAllByName (const LogString &host) |
| Determines all the IP addresses of a host, given the host's name.
|
|
static InetAddressPtr | getByName (const LogString &host) |
| Determines the IP address of a host, given the host's name.
|
|
static InetAddressPtr | getLocalHost () |
| Returns the local host.
|
|
static InetAddressPtr | anyAddress () |
| Returns an InetAddress which can be used as any address, for example when listening on a port from any remote addresss.
|
|
◆ InetAddress()
log4cxx::helpers::InetAddress::InetAddress |
( |
const LogString & |
hostName, |
|
|
const LogString & |
hostAddr |
|
) |
| |
◆ ~InetAddress()
log4cxx::helpers::InetAddress::~InetAddress |
( |
| ) |
|
◆ anyAddress()
static InetAddressPtr log4cxx::helpers::InetAddress::anyAddress |
( |
| ) |
|
|
static |
Returns an InetAddress which can be used as any address, for example when listening on a port from any remote addresss.
◆ getAllByName()
static InetAddressList log4cxx::helpers::InetAddress::getAllByName |
( |
const LogString & |
host | ) |
|
|
static |
Determines all the IP addresses of a host, given the host's name.
◆ getByName()
static InetAddressPtr log4cxx::helpers::InetAddress::getByName |
( |
const LogString & |
host | ) |
|
|
static |
Determines the IP address of a host, given the host's name.
◆ getHostAddress()
LogString log4cxx::helpers::InetAddress::getHostAddress |
( |
| ) |
const |
Returns the IP address string "%d.%d.%d.%d".
◆ getHostName()
LogString log4cxx::helpers::InetAddress::getHostName |
( |
| ) |
const |
Gets the host name for this IP address.
◆ getLocalHost()
static InetAddressPtr log4cxx::helpers::InetAddress::getLocalHost |
( |
| ) |
|
|
static |
◆ toString()
LogString log4cxx::helpers::InetAddress::toString |
( |
| ) |
const |
Converts this IP address to a String.
The documentation for this class was generated from the following file: