Re: [JXTA discuss] Size limit on JXTA

"Mike [bondolo] Duigou" <[email protected]> Mon, 19 Sep 2005 08:14:14 -0700
Newsgroups gmane.comp.java.jxta.general
Organization Project JXTA, http://www.jxta.org
Message-ID <[email protected]>
Cov Uni wrote:
> I am trying to use JXTA in a java prototype application to transfer 
> images from one peer to another using a pipe.
>  
> I am converting the image into hexadecimal to avoid complications with 
> binary files.

That is not necessary. JXTA transmits binary data without problems.

> However I seem to be hitting problems passing messages over a pipe which 
> are greater than 20K ish.

The size limit for pipe messages is normally 64k.

> Is there a limit? and how do I overcome it? 

The easiest way to overcome it is to use the net.jxta.util.JxtaSocket 
class.

Mike