Function

GioSocketConnectionfactory_lookup_type

Declaration

GType
g_socket_connection_factory_lookup_type (
  GSocketFamily family,
  GSocketType type,
  gint protocol_id
)

Description

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.

Available since:2.22

Parameters

family GSocketFamily
 

A GSocketFamily.

type GSocketType
 

A GSocketType.

protocol_id gint
 

A protocol id.

Return value

Returns: GObject.Type
 

A GType.