:right-sidebar: True SocketProtocol =================================================================== .. currentmodule:: gi.repository.Gio .. versionadded:: 2.22 .. class:: SocketProtocol :no-contents-entry: A protocol identifier is specified when creating a :obj:`~gi.repository.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. Fields ------ .. rst-class:: interim-class .. class:: SocketProtocol :no-index: .. attribute:: DEFAULT The type of the None singleton. .. attribute:: SCTP The type of the None singleton. .. attribute:: TCP The type of the None singleton. .. attribute:: UDP The type of the None singleton. .. attribute:: UNKNOWN The type of the None singleton.