GSocketType

Flags used when creating a #GSocket. Some protocols may not implement all the socket types.

Values

ValueMeaning
INVALID0

Type unknown or wrong

STREAM1

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

DATAGRAM2

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

SEQPACKET3

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

Meta

Since

2.22