Method

GioNetworkAddressget_hostname

since: 2.22

Declaration [src]

const gchar*
g_network_address_get_hostname (
  GNetworkAddress* addr
)

Description [src]

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

Available since: 2.22

Return value

Type: const gchar*

addrs hostname.

The returned data is owned by the instance.
The value is a NUL terminated UTF-8 string.