This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi.... I am trying to write a program which contains a server & a client. First I write the program as server sends some messages and client prints them. It is working fine. But when I added the code to send messages from client to server... Now it is not working. My code is Chat Server
It seems that server is waiting at this line System.out.println("Client: "+ bfr.readLine().toString());
If I commented out this line, the program is working fine. I am unable to understand what I have done wrong. As I was new to Java, please give me some suggestion.