Function
GUPnPContextManagercreate
Declaration [src]
GUPnPContextManager*
gupnp_context_manager_create (
guint port
)
Description [src]
Factory-method to create a new GUPnPContextManager
. The final type of the
GUPnPContextManager
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 #gupnp_context_manager_create_full (GSSDP_UDA_VERSION_1_0
, G_SOCKET_FAMILY_IPV4
, port);
Available since: | 0.18.0 |
Return value
Returns: | GUPnPContextManager |
A new |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |