InternetHost.getHostByAddr

Resolve IPv4 address number.

  1. bool getHostByAddr(uint addr)
    class InternetHost
    @trusted
    bool
    getHostByAddr
    (
    uint addr
    )
  2. bool getHostByAddr(const(char)[] addr)

Parameters

addr uint

The IPv4 address to resolve, in host byte order.

Return Value

Type: bool

false if unable to resolve.

Meta

Suggestion Box / Bug Report