RGtk2 (version 2.20.31)

gSocketConnectionFactoryRegisterType: gSocketConnectionFactoryRegisterType

Description

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

Usage

gSocketConnectionFactoryRegisterType(g.type, family, type, protocol)

Arguments

g.type
a GType, inheriting from G_TYPE_SOCKET_CONNECTION
protocol
a protocol id

Details

If no type is registered, the GSocketConnection base type is returned. Since 2.22