| | |
Splitting an InputStream
Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Jun 2007
Posts: 59
Reputation:
Solved Threads: 3
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
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
•
•
Join Date: Sep 2008
Posts: 1,637
Reputation:
Solved Threads: 206
Post your code (the part that is relevant to your question). http://java.sun.com/docs/books/tutor...ngWriting.html
Also, take a look at that example, particularly the part where the PrintWriter and BufferedReader objects are created.
Also, take a look at that example, particularly the part where the PrintWriter and BufferedReader objects are created.
![]() |
Similar Threads
Other Threads in the Java Forum
- Previous Thread: Help me convert these For loops to While Loops ASAP
- Next Thread: echo char
| Thread Tools | Search this Thread |
Tag cloud for Java
affinetransform android api apple applet application arc arguments array arrays automation binary bluetooth businessintelligence chat class classes client code component database desktop draw ebook eclipse encode equation error event exception file fractal game givemetehcodez graphics gui helpwithhomework html ide image input integer intersect j2me java javaexcel javaprojects jmf jni jpanel julia linked linux list loop mac main map method methods mobile netbeans newbie number online open-source oracle parameter print problem program programming project properties recursion reference replaysolutions rotatetext scanner score screen scrollbar server set size sms socket sort sql string superclass swing template test threads time tree windows working xstream






