SrvTarget.getHostname

Gets target's hostname (in ASCII form; if you are going to present this to the user, you should use glib.global.hostnameIsAsciiEncoded to check if it contains encoded Unicode segments, and use glib.global.hostnameToUnicode to convert it if it does.)

class SrvTarget
string
getHostname
()

Return Value

Type: string

target's hostname