摘要: public class MSGThread extends Thread{ private Socket fromClient; public MSGThread(Socket fromClient){ this.fromClient = fromClient; } public void run 阅读全文
posted @ 2016-06-19 17:13 钟振杰 阅读(184) 评论(0) 推荐(0) 编辑
摘要: public class TestClient { public static void main(String[] args) { // TODO Auto-generated method stub System.out.println("请输入你要发送的消息:"); String msg = 阅读全文
posted @ 2016-06-19 17:10 钟振杰 阅读(175) 评论(0) 推荐(0) 编辑