Hello: I’m trying to create a gdbus connection with ipv6 link local address, but g_dbus_connection_new_for_address_sync will return NULL if I passed the address parameter with the value like “tcp:host=fe80::a00:27ff:feb9:db9b%eth0,port=1234”. The reason is the API g_uri_unescape_segment treats the character “%” in the address as the escape character and return -1, but the character actually means the following interface “eth0” should be used to create the connection over. So, does anyone know how to create a ipv6 link local gdbus connection with right way? Any suggestion is appreciate! Fred Jiang --------------------------------------------------------------------------------------------------- |
_______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx https://mail.gnome.org/mailman/listinfo/gtk-list