[gupnp]



Hi,

I am trying to force GUPnP (both device and cp) to use a specific
network interface.
I noticed that such a feature is included since these releases:
    http://zee-nix.blogspot.com/2009/09/gssdp-07-gupnp-013-gupnp-av-05-gupnp.html

When searching for example code I found only these using
ContextManager class, and all of
these only set "port" arg to 0 ...
-----------------------------------------------------
./gupnp-tools-0.8.1/src/universal-cp/main.c:        context_manager =
gupnp_context_manager_new (NULL, 0);
./gupnp-tools-0.8.1/src/network-light/upnp.c:        context_manager =
gupnp_context_manager_new (NULL, 0);
./gupnp-tools-0.8.1/src/av-cp/main.c:        context_manager =
gupnp_context_manager_new (NULL, 0);
./gupnp-igd-0.1.7/libgupnp-igd/gupnp-simple-igd.c:
gupnp_context_manager_new (self->priv->main_context, 0);
-----------------------------------------------------
... which means:
 * @port: Port to create contexts for, or 0 if you don't care what port is used.

Could someone please provide some advice how to use a specific port?
A pointer to example code would be nice ...

BR,
jukka
--
To unsubscribe send a mail to gupnp+unsubscribe\@o-hand.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]