Gio.SocketAddress.prototype.get_family

function get_family(): Gio.SocketFamily {
    // Gjs wrapper for g_socket_address_get_family()
}
  

Gets the socket family type of address.

Since 2.22

Returns

the socket family type of address