Original Post
A bit of information about what im doing first I suppose; im working a "one server/many clients" program. Ive done some before without any trouble. But when I try to do the following: The program stops working when I try to create the ObjectInputStream. I switched the two over to a BufferedReader and a PrintWriter and it worked fine. Of course, those arent what I need for my program. Can anyone offer an idea as to what may be wrong? edit: fixed spelling mistake with socket edit: fixed other spelling mistake with Stream names [Edited by - ManiacMac on July 4, 2004 9:38:31 AM]
ObjectOutputStream oos = new ObjectOutputStream(
new BufferedOutputStream(socket.getOutputStream()));
ObjectInputStream ois = new ObjectInputStream(
new BufferedInputStream(socket.getInputStream()));