SocketConnection.factoryLookupType

gobject.types.GType factoryLookupType(gio.types.SocketFamily family, gio.types.SocketType type, int protocolId)

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

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

Parameters

familya #GSocketFamily
typea #GSocketType
protocolIda protocol id

Returns

a #GType