The OpenD Programming Language

InternetHost.getHostByAddr

Same as previous, but addr is an IPv4 address string in the dotted-decimal form a.b.c.d.

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

Return Value

Type: bool

false if unable to resolve.

Meta