Gio.SocketType

Flags used when creating a Gio.Socket. Some protocols may not implement all the socket types.

Since 2.22

SocketType.INVALID

Type unknown or wrong

SocketType.STREAM

Reliable connection-based byte streams (e.g. TCP).

SocketType.DATAGRAM

Connectionless, unreliable datagram passing. (e.g. UDP)

SocketType.SEQPACKET

Reliable connection-based passing of datagrams of fixed maximum length (e.g. SCTP).