InternetHost.getHostByAddr

bool getHostByAddr(uint addr) @trusted

Resolve IPv4 address number.

Parameters

addrThe IPv4 address to resolve, in host byte order.

Returns

false if unable to resolve.
bool getHostByAddr(scope const(char)[] addr) @trusted

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

Returns

false if unable to resolve.