This is really a question about how to write objects over a socket. Turns out my issue is with the way I'm using ObjectOutputStream(ByteArrayOutputStream))
If I use this to write stuff (writeUTF, writeObject, writeBoolean, etc..), then the readLine on the other side chokes on values within the buffer returned. ByteArrayOutputStream.toString(). It works sometimes, just depending on what is written.
I see Datagrams, but I'm not broadcasting.
This method I've been using works great over JMS, just not over a Socket.
Any ideas on how to wrap/format the resulting
string from ObjectOutputStream so readLine doesn't see other chars and cut it up?
Thanks,
Scott
[ October 09, 2005: Message edited by: scotta irwin ]