The output to the file is fine, the reception through the socket is empty, if I want the socket to receive what should be changed? Here is the main code:
BufferedReader reader =
new BufferedReader(new InputStreamReader(clientSocket.getInputStream()));
String request = reader.readLine();
while (StrUtil.isNotBlank(request)) {
System.out.println(request);
request = reader.readLine();
}
I wrote a server to get the data and now only receive the following message:
The output to the file is fine, the reception through the socket is empty, if I want the socket to receive what should be changed? Here is the main code: