We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2e673a commit e778aa3Copy full SHA for e778aa3
tcpClient.java
@@ -15,7 +15,7 @@ public static void main(String args[]) throws IOException
15
16
//create output stream to send data to outstream
17
OutputStream ostream=sock.getOutputStream();
18
- PrintWriter pw = new PrintWriter(ostream,true);
+ PrintWriter pw = new PrintWriter(ostream,true);//StreamToWriteTo , autoFlush
19
//send filename to the server by writing to outstream using PrintWriter
20
pw.println(fname);
21
0 commit comments