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.
I created a chat room application using java socket and tried to connect a client via the internet. Both client and server machines were connected to the internet through USB HSPA modems. When the client tris to connect a StreamCorruptedException was thrown. I cannot figure out the reason for that. Can you please help me to fix this. Source code of my application is given below.