| | |
Splitting an InputStream
![]() |
•
•
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,574
Reputation:
Solved Threads: 199
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 |
-xlint add android api applet application applications array arrays automation bank bi binary blackberry bluetooth chat class client code compile compiler component database development digit eclipse equation error event fractal freeze functiontesting game gameprogramming givemetehcodez graphics gui health html hyper ide idea image infinite input int integer j2me java javame javaprojects jetbrains jni jpanel jtable julia learningresources linux list login loop main map method methods mobile myregfun netbeans newbie nonstatic notdisplaying pearl problem program programming project qt recursion scanner screen scrollbar server set sms sort sorting spamblocker sql sqlserver string superclass swing system text-file thread threads tree variablebinding windows xor






