NetworkAddress.getHostname

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

class NetworkAddress
string
getHostname
()

Return Value

Type: string

@addr's hostname

Meta

Since

2.22