Method

GioNetworkAddressget_hostname

since: 2.22

Declaration

const gchar*
g_network_address_get_hostname (
  GNetworkAddress* addr
)

Description

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 data is owned by the instance.
The value is a NUL terminated UTF-8 string.