NetworkAddress.getHostname

Gets @addr's hostname. This might be either UTF-8 or ASCII-encoded, depending on what @addr was created with.

Return: @addr's hostname

class NetworkAddress
string
getHostname
()

Meta

Since

2.22