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 GType

a #GType, inheriting from %G_TYPE_SOCKET_CONNECTION

family GSocketFamily

a #GSocketFamily

type GSocketType

a #GSocketType

protocol int

a protocol id

Meta

Since

2.22