cannot read at java ServerSocket till C# client close
posted 7 years ago
I want send requests and receive response between C# client application and java server application using Socket programmig (TCP).
I am not able to read the Buffer using readLine() method at the java server till the C# client closes the socket. The control hangs at
String receive = in. readLine(); line till C# client closes the socket..
The same thing I have tried with java client and java server and it works fine in this case..