factory_register_type


Description:

public static void factory_register_type (Type g_type, SocketFamily family, SocketType type, int protocol)

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

If no type is registered, the SocketConnection base type is returned.

Parameters:

g_type

a Type, inheriting from g_type_socket_connection

family

a SocketFamily

type

a SocketType

protocol

a protocol id