Method

GioNetworkServiceget_protocol

Declaration

const gchar*
g_network_service_get_protocol (
  GNetworkService* srv
)

Description

Gets srvs protocol name (eg, “tcp”).

Available since:2.22

Return value

Type: const gchar*

srvs protocol name.

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