Property

GioSocket:protocol

since: 2.22

Declaration

property protocol: Gio.SocketProtocol [ read, write, construct-only ]

Description [src]

The ID of the protocol to use, or -1 for unknown.

Type:GSocketProtocol

Available since: 2.22

Default valueG_SOCKET_PROTOCOL_UNKNOWN
Getter methodg_socket_get_protocol()

Flags

Readableyes
Writableyes
Constructno
Construct onlyyes