Enumeration (GI Enum)

Gio-2.0GioSocketProtocolSince 2.22

A protocol identifier is specified when creating a Gio.Socket, which is a family/type specific identifier, where 0 means the default protocol for the particular family/type.

This enum contains a set of commonly available and used protocols. You can also pass any other identifiers handled by the platform in order to use protocols not listed here.

2.22

Index
DEFAULT: 0

The default protocol for the family/type

SCTP: 132

SCTP over IP

TCP: 6

TCP over IP

UDP: 17

UDP over IP

UNKNOWN: -1

The protocol type is unknown

Variables

$gtype