ObjectOutputStreams

Todd (todd@MIT.EDU)
Thu, 20 Nov 1997 09:03:18 -0500

I don't know quite what the problems people were have but I'll share
my solution anyway. Henry mentioned that the output has to be created
before the input. This means more than just having the statement that
creates the output come before the one that creates the input. This means
that the output at one end needs to be created before the input at the other.
What my groupt did was to have one initial object that created the
socket. This also created the outputstream. The socket and outputstream
are then passed to the next object that creates the input stream. Since the
outputstream is created immediately after the socket is created at both
ends, the inputstream has an outputstream to connect with once it is created.

Todd

---------Todd Atkins------------
todd@mit.edu or hha@mindless.com
http://garion.mit.edu
(617) 492-6983
--------------------------------