enum
Gio::SocketFamily
Overview
The protocol family of a #GSocketAddress. (These values are identical to the system defines %AF_INET, %AF_INET6 and %AF_UNIX, if available.)
Defined in:
lib/gi-crystal/src/auto/gio-2.0/gio.crEnum Members
-
Invalid =
0_u32 -
no address family
-
Unix =
1_u32 -
the UNIX domain family
-
Ipv4 =
2_u32 -
the IPv4 family
-
Ipv6 =
10_u32 -
the IPv6 family
Class Method Summary
-
.g_type : UInt64
Returns the type id (GType) registered in GLib type system.
Instance Method Summary
-
#invalid?
Returns
trueif this enum value equalsInvalid -
#ipv4?
Returns
trueif this enum value equalsIpv4 -
#ipv6?
Returns
trueif this enum value equalsIpv6 -
#unix?
Returns
trueif this enum value equalsUnix
Class methods inherited from struct Enum
g_type : UInt64
g_type
Class Method Detail
Returns the type id (GType) registered in GLib type system.