[JDEV] Repost : Binary data thru' JabberCOM ??

johnston at megaepic.com johnston at megaepic.com
Wed Jun 27 10:56:37 CDT 2001


Well, the best way to do it maybe would be to create a namespace for use in the x element so that receiving client's would know that it's not a normal message, and base64 encode your binary data, and decode it when it arrives.

Mat.


On Wed, Jun 27, 2001 at 06:54:45AM -0700, Karthik K H wrote:
> Well , 
>  i am sending this again as i did not get any kind of
> response to my earlier post!!
> 
> --- Karthik K H <karu708 at yahoo.com> wrote:
> > Hi guys,
> >   Hope that VC++ sample project for JabberCOM
> > helped.
> > Now I have a question, how do i send binary data as
> > part of message . The binary data could be of
> > arbitrary size , ( i mean not too big  ) something
> > like audio packets ?? Is it possible to override the
> > IJabbeMsg interface to provide for binary data ? or
> > do
> > i need to introduce new XML tags like <binary> ...or
> > something like that ?? 
> > cheers,
> > khk
> > 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev



More information about the JDev mailing list