> ----- Original Message ---- > From: Glus Xof <[email protected]> > To: [email protected] > Sent: Mon, 3 May, 2010 16:04:29 > Subject: Avoiding string break... > > Hi guys, > > Must communicate two processes (client-server app) with (partially) > encrypted messages... > > Does exist any foreseen solution to avoid the classical string break > by the '\0' character ? > > (I use Gio::receive & Gio::send()...) > > Glus
2010/5/3 Piscium <[email protected]>: > You could try g_base64_encode and g_base64_decode available in Glib. I did > not find an equivalent in glibmm. > Thanks a lot, Piscium, But, don't reussite !... Trying to find something like g_strdup_printf to get guchar strings (for testing purposes, at the moment)... but seems there is nothing. The start point are two std::string values (one of those, encrypted...). The goal is to pass them throw the Gio::send() - Gio::receive() methods, avoiding the encrypted C string break by the character '\0'. A little more help will be appreciated... Glus _______________________________________________ gtkmm-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkmm-list
