create_full


Description:

[ Version ( since = "1.2.0" ) ]
public static ContextManager create_full (UDAVersion uda_version, SocketFamily family, 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.

Parameters:

uda_version

UDAVersion the created contexts should implement (UDA 1.0 or 1.1). For gssdp_uda_version_unspecified for default.

family

SocketFamily to create the context for

port

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

Returns:

A new ContextManager object.