get_hostname


Description:

[ Version ( since = "2.22" ) ]
public unowned string get_hostname ()

Gets this's hostname.

This might be either UTF-8 or ASCII-encoded, depending on what this was created with.

Parameters:

this

a NetworkAddress

Returns:

this's hostname