enum Gio::SocketType
Overview
Flags used when creating a #GSocket. Some protocols may not implement all the socket types.
Defined in:
lib/gi-crystal/src/auto/gio-2.0/gio.crEnum Members
-
Invalid =
0_u32
-
Type unknown or wrong
-
Stream =
1_u32
-
Reliable connection-based byte streams (e.g. TCP).
-
Datagram =
2_u32
-
Connectionless, unreliable datagram passing. (e.g. UDP)
-
Seqpacket =
3_u32
-
Reliable connection-based passing of datagrams of fixed maximum length (e.g. SCTP).
Class Method Summary
-
.g_type : UInt64
Returns the type id (GType) registered in GLib type system.