Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Possible to use both a PrintWriter and BufferedOutputStream?

807569Sep 18 2006 — edited Sep 18 2006
I have made a PrintWriter and BufferedOutputStream on the same socket that my client uses to connect to the server. I start by sending some string with the PrintWriter followed by some bytes with the BufferedOutputStream.

I does not work, so I would like to know if its not possible to connect these to out channels to the same socket.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 16 2006
Added on Sep 18 2006
7 comments
358 views