SyntaxFix
Write A Post
Hire A Developer
Questions
You can also check for socket output stream error while writing to client socket.
out.println(output); if(out.checkError()) { throw new Exception("Error transmitting data."); }