posted 24 years ago
Write a loop to read bytes from the input stream, and write those bytes to the output stream:
For improved efficiency, modify the loop to use read(byte[]) and write(byte[]) instead. It may well also be useful to put this method in a separate thread.
"I'm not back." - Bill Harding, Twister