//调用ReadString方法,将读入的字符存入name
pw.println(name);
//传输name
System.out.println(br.readLine());
//显示从socket中取出的,接收自服务器的数据
}catch (IOException e) {
// TODO Auto-generated catch block