| Value | Meaning |
|---|---|
| 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). |
Flags used when creating a #GSocket. Some protocols may not implement all the socket types.