It looks like you need to flush the output stream.
public void send(String msg){//send outgoing message
System.out.println("in the send()");
serverOut.println(msg);
serverOut.flush();
}
That's assuming whatever serverOut
is a PrintWriter
which it seems to be?