RFC: IPv6 WIP



Hi,

out of boredom I took the UDA 2.0 document and re-read Annex A and did
some hacking.

The current work-in-progress is available at https://git.gnome.org/brow
se/gssdp/log/?h=wip/ipv6 and https://git.gnome.org/browse/gupnp/log/?h=
wip/ipv6

The context managers have not been touched yet, but if you create a
context manually, e.g.

  GUPnPContext *context = g_initable_new (GUPNP_TYPE_CONTEXT,
                                    NULL,
                                    &error,
                                    "host-ip",
"fe80::223:14ff:fe31:2bd0",
                                    "interface", "wlan0",
                                    "network", "SomeWifi",
                                    NULL);

it is already possible to browse Windows 7 internal media server/WMP
using gupnp-av-cp. The main point is that you have to specify host-ip
and interface to prevent GSSDP guessing any of the two.

I'm not overly happy with the current implementation, especially with
the weird link-local handling, but it's getting there.

So comments welcome. We also have a ticket for this at https://bugzill
a.gnome.org/show_bug.cgi?id=654137

KR Jens.


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