Re: Send binary string data chat message?
From: Jakob Schroeter <js@xxxxxxxxxx>
Date: Wed, 11 Jul 2007 12:19:10 +0200 (CEST)
On Wed Jul 11 2007, Tran Thai Son wrote:
> Hi all,
> I' wondering if it is possible to send a binary string as a chat message
> (or other message type) in gloox? By this way we can establish a data
> transfer channel which is light-weight and fast ( e.g. we dont have to
> handle socks5bytestream just to send a very small amount of binary data).
> Sorry if this seems stupid. I really appreciate if some one can correct me.
> Thanks alot,

You have to base64 binary data before you can send it.

cheers,
Jakob

Attachment: pgpYMSZ1gGOLd.pgp
Description: PGP signature