摘要: 1. 客户端要主动去连接:channel.connect(new InetSocketAddress("localhost",8888)); //用channel.finishConnect();才能完成连接2. 客户端的阻塞配置放到连接前面:socketClient.configureBlocki... 阅读全文
posted @ 2015-05-24 18:32 Jtianlin 阅读(253) 评论(0) 推荐(0) 编辑