posted 19 years ago
Hello all,
I have an assignment due on the 14th of May. I have decided to write a chatting system (Server/Client). First I wrote the system using the Threads and DataInputStream/DataOutputStream . Then I wanted to change Input/Output stream into ObjectInputStream/ObjectOutputStream. Now the program is not functioning properly.The problems are;
Multiple client connections are not accepting only one connection is accepted at once. For example when one client is connected the second connection is not accepted. But when the first connection gets disconnected, the second connection is accepted. But then an error occurs.
What I expect from the experts is to run the program and understand problem and give me solutions. I would appriciate this very much. The codings are listed bellow. To connect to the server you have to log in to the system. Just enter a user name, that is all what you have to do.
Thank you very much for your time..............
SCJP 1.4, SCMAD 1.0<br />SCWCD, SCBCD (in progress)