SocketConnection.factoryRegisterType

Looks up the #GType to be used when creating socket connections on sockets with the specified family, type and protocol.

If no type is registered, the #GSocketConnection base type is returned.

class SocketConnection
static
void
factoryRegisterType

Parameters

gType gobject.types.GType

a #GType, inheriting from G_TYPE_SOCKET_CONNECTION

family gio.types.SocketFamily

a #GSocketFamily

type gio.types.SocketType

a #GSocketType

protocol int

a protocol id