The OpenD Programming Language

Address.toHostNameString

Attempts to retrieve the host name as a fully qualified domain name.

class Address
const
string
toHostNameString
()

Return Value

Type: string

The FQDN corresponding to this Address, or null if the host name did not resolve.

Throws

AddressException on error, or SocketFeatureException if host name lookup for this address family is not available on the current system.

Meta