Re: Avoiding string break...
- From: Glus Xof <gtglus gmail com>
- To: Piscium <groknok yahoo ie>
- Cc: gtkmm-list gnome org
- Subject: Re: Avoiding string break...
- Date: Mon, 3 May 2010 21:10:32 +0200
> ----- Original Message ----
> From: Glus Xof <gtglus gmail com>
> To: gtkmm-list gnome org
> 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 <groknok yahoo ie>:
> 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]