Yellow,

From my application - for some reason - I am able to send messages up to only 64k. I've been wondering if it is possible to split an InputStream into partitions of 64k, and then, on client side to join them again. Is this possible? Have you ever done such thing before? Please, share your experience.

Thanks for answers in advance,
Chaster

Thanks for the quick reply, however, I don't use sockets explicitly. I've been developing a P2P application using the JXTA platform. I didn't post code, since posting how I read a file's content into an InputStream would not make much sense...

well, somebody might know something I don't, but you're unlikely to get much help without posting code.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.