create


Description:

[ Version ( since = "0.18.0" ) ]
public static ContextManager create (uint port)

Factory-method to create a new ContextManager.

The final type of the ContextManager depends on the compile-time selection or - in case of NetworkManager - on its availability during run-time. If it is not available, the implementation falls back to the basic Unix context manager instead.

Equivalent to calling create_full ( gssdp_uda_version_1_0, g_socket_family_ipv4, port);

Parameters:

port

Port to create contexts for, or 0 if you don't care what port is used.

Returns:

A new ContextManager object.