GSocketProtocol

A protocol identifier is specified when creating a #GSocket, 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.

Values

ValueMeaning
UNKNOWN-1

The protocol type is unknown

DEFAULT0

The default protocol for the family/type

TCP6

TCP over IP

UDP17

UDP over IP

SCTP132

SCTP over IP

Meta

Since

2.22