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 gio.SocketConnection base type is returned.

class SocketConnection
static
void
factoryRegisterType

Parameters

gType GType

a GType, inheriting from G_TYPE_SOCKET_CONNECTION

family GSocketFamily
type GSocketType
protocol int

a protocol id

Meta

Since

2.22