摘要:
public class MSGThread extends Thread{ private Socket fromClient; public MSGThread(Socket fromClient){ this.fromClient = fromClient; } public void run 阅读全文
摘要:
public class TestClient { public static void main(String[] args) { // TODO Auto-generated method stub System.out.println("请输入你要发送的消息:"); String msg = 阅读全文