Gio.SocketConnection.factory_lookup_type
function factory_lookup_type(family: Gio.SocketFamily, type: Gio.SocketType, protocol_id: Number(gint)): GObject.Type { // Gjs wrapper for g_socket_connection_factory_lookup_type() }
Looks up the GLib.Type to be used when creating socket connections on sockets with the specified family, type and protocol_id.
If no type is registered, the Gio.SocketConnection base type is returned.
Since 2.22
- family
- type
- protocol_id
a protocol id
- Returns