InternetHost.getHostByAddr

Resolve IPv4 address number.

  1. bool getHostByAddr(uint addr)
    class InternetHost
    @trusted
    bool
    getHostByAddr
    (
    uint addr
    )
  2. bool getHostByAddr(const(char)[] addr)
  3. string name;
  4. string[] aliases;
  5. uint[] addrList;

Parameters

addr uint

The IPv4 address to resolve, in host byte order.

Return Value

Type: bool

false if unable to resolve.

Meta