J
Jackie
Hello
I have a little problem with the following code (s2c is a socket):
is = s2c.getInputStream();
br = new BufferedReader(new InputStreamReader(is));
oi = new ObjectInputStream(is); //here my program hangs. How can I
solve this? Or is it impossible to make 2 streams from one InputStream?
As a student, I'm just starting with java. So maybe it's something very
stupid
Thanks, Chris
I have a little problem with the following code (s2c is a socket):
is = s2c.getInputStream();
br = new BufferedReader(new InputStreamReader(is));
oi = new ObjectInputStream(is); //here my program hangs. How can I
solve this? Or is it impossible to make 2 streams from one InputStream?
As a student, I'm just starting with java. So maybe it's something very
stupid
Thanks, Chris