Socket is closed错误
请教,我在写的时候会把服务器接收消息之后就 socket.shutdownInput(); bufferedReader.close(); inputStreamReader.close(); inputStream.close(); 客户端也是,发送消息之后就 socket.shutdownOutput(); printWriter.close(); outputStream.close(); 此时会报错,在服务器调用socket.getOutputStream();和socket.getInputStream();时,会报告socket已关闭,socket.close分明在最后才写的,这是为什么呢?