sockOut.println("hello,I am client");
//使用sockOut发送数据
sockOut.flush();
String s=sockIn.readLine();
System.out.println("Client recived:"+s);
sockOut.close();
sockIn.close();
socket.close();
}catch(Exception e){
System.out.println(e.toString());
System.out.println("client exit");
}
检查PATH环境变量 。。。。。。。