服务端输出null
BufferedReader buffer = new BufferedReader(new InputStreamReader(input));
while(buffer!=null){
System.out.println("服务器:"+buffer.readLine());
}
为何死循环输出 服务器:null
BufferedReader buffer = new BufferedReader(new InputStreamReader(input));
while(buffer!=null){
System.out.println("服务器:"+buffer.readLine());
}
为何死循环输出 服务器:null
2017-05-09
举报