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
gType | a #GType, inheriting from G_TYPE_SOCKET_CONNECTION |
family | a #GSocketFamily |
type | a #GSocketType |
protocol | a protocol id |