JAVA 聊天客户端代码 已经写好 public class ChatSocket { private ChatJFrame chatframe; private Socket client; public ChatSocket(String host,int port,String name) { try { client=new Socket(host,port); BufferedReader cin=new BufferedReader(new InputStreamReader(c