SocketConnection.factoryRegisterType

void factoryRegisterType(gobject.types.GType gType, gio.types.SocketFamily family, gio.types.SocketType type, int protocol)

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.

Parameters

gTypea #GType, inheriting from G_TYPE_SOCKET_CONNECTION
familya #GSocketFamily
typea #GSocketType
protocola protocol id