Gio.SocketProtocol

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.

Since 2.22

SocketProtocol.UNKNOWN

The protocol type is unknown

SocketProtocol.DEFAULT

The default protocol for the family/type

SocketProtocol.TCP

TCP over IP

SocketProtocol.UDP

UDP over IP

SocketProtocol.SCTP

SCTP over IP