A question about gdbus using ipv6 link local address

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

 



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

---------------------------------------------------------------------------------------------------
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s)
is intended only for the use of the intended recipient and may be confidential and/or privileged of
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is
not the intended recipient, unauthorized use, forwarding, printing,  storing, disclosure or copying
is strictly prohibited, and may be unlawful.If you have received this communication in error,please
immediately notify the sender by return e-mail, and delete the original message and all copies from
your system. Thank you.
---------------------------------------------------------------------------------------------------

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux