:right-sidebar: True SocketType =================================================================== .. currentmodule:: gi.repository.Gio .. versionadded:: 2.22 .. class:: SocketType :no-contents-entry: Flags used when creating a :obj:`~gi.repository.Gio.Socket`. Some protocols may not implement all the socket types. Fields ------ .. rst-class:: interim-class .. class:: SocketType :no-index: .. attribute:: DATAGRAM Connectionless, unreliable datagram passing. (e.g. UDP) .. attribute:: INVALID Type unknown or wrong .. attribute:: SEQPACKET Reliable connection-based passing of datagrams of fixed maximum length (e.g. SCTP). .. attribute:: STREAM Reliable connection-based byte streams (e.g. TCP).