Wrox Programmer Forums
|
BOOK: Beginning Java 2
This is the forum to discuss the Wrox book Beginning Java 2, SDK 1.4 Edition by Ivor Horton; ISBN: 9780764543654
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Java 2 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 1st, 2004, 07:43 AM
Registered User
 
Join Date: Dec 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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










Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.