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.cr

Enum 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

Instance Method Summary

Class methods inherited from struct Enum

g_type : UInt64 g_type

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.


Instance Method Detail

def invalid? #

def ipv4? #

def ipv6? #

def unix? #