| | |
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,625
Reputation:
Solved Threads: 205
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
android api appinventor apple applet application arc arguments array arrays automation binary bluetooth c++ chat class classes client code codesnippet compiler component csv database doctype draw ebook eclipse error event exception fractal freeze game givemetehcodez graphics gui html ide image input integer intellij iphone j2me java java.xls javaprojects jni jpanel julia linux list login loop loops mac map method methods mobile netbeans newbie number online oracle page parameter print problem program programming project recursion reporting rotatetext scanner screen server set size sms socket sort sourcelabs sql string superclass swing system template test testautomation threads time title tree tutorial-sample windows working






