Am 2015-02-05 22:19, schrieb Markus Kolb:
Hi,
what's the way to get the corresponding hostname to the
Gio::SocketAddress which I retrieve via
Gio::SocketConnection->get_local_address() ?
ok, I think I got it...
1. Gio::InetSocketAddress* p_isa =
((Gio::InetSocketAddress*)(con->get_local_address()->gobj()));
2. Glib::RefPtr<Gio::InetSocketAddress> p_isa =
Glib::RefPtr<Gio::InetSocketAddress>::cast_static(con->get_local_address());
Ok?
Thx
_______________________________________________
gtkmm-list mailing list
gtkmm-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtkmm-list