Gio.SocketClient.get_protocol

### Method

# Gio SocketClientget_protocol

since: 2.22

#### Declaration [src]

    GSocketProtocol
    g_socket_client_get_protocol (
      GSocketClient* client
    )

#### Description [src]

Gets the protocol name type of the socket client.

See `g_socket_client_set_protocol()` for details.

Available since: 2.22

Gets property | `Gio.SocketClient:protocol`

#### Return value

Type: `GSocketProtocol`

A `GSocketProtocol`.