Type Alias GSocketType

Source
pub type GSocketType = c_uint;
Expand description

GSocketType: @G_SOCKET_TYPE_INVALID: Type unknown or wrong @G_SOCKET_TYPE_STREAM: Reliable connection-based byte streams (e.g. TCP). @G_SOCKET_TYPE_DATAGRAM: Connectionless, unreliable datagram passing. (e.g. UDP) @G_SOCKET_TYPE_SEQPACKET: 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.

Since: 2.22