I want a Server Client communication via socket programming in java. But problem arises when i try to pass something to client using printWriter’s out object i have to use out.Println(“…”) which prints every thing on clients console;
i want to send information to client without printing it on client’s conole. Thanks
I want a Server Client communication via socket programming in java. But problem arises
Share
Use a stream other than System.out according to your needs. Here are a few to choose from:
http://docs.oracle.com/javase/1.4.2/docs/api/java/io/OutputStream.html