ObjectInputStreams
Hi
Does anyone know of a problem involving ObjectInputStreams that affects the functionality of other input and output streams?
My problem is this:
I have developed a simple client/server program that connects using sockets. I am currently experimenting the transfer of strings and serialized objects using PrintWriters/BufferedReaders and ObjectOutputStreams/ObjectInputStreams respectively.
The PrintWriter, BufferedReader and ObjectOutputStream objects work fine together. However when I create a new ObjectInputStream object it appears to adversely affect the operation of the others, to put it simply they no longer work. There is no error, they just don't appear to work. The problem is driving me mad, any advice would be most welcome.
Thanks
George
|