private String handleRequest(Socket client)
{
try
{
BufferedReader in = new BufferedReader(new InputStreamReader(client.getInputStream()));
return in.readLine();
}
If I close the reader before returning the string I can no longer read from the stream.
Trying to close the stream after the return statement appears impossible.


Sign In
Create Account


Back to top









