摘要: 1.在会话中获得远程IP和端口@Overridepublic void messageReceived(IoSession session, Object message) throws Exception { InetSocketAddress remoteAddress = (InetSocketAddress) session.getRemoteAddress(); System.o... 阅读全文
posted @ 2018-09-06 15:21 huiy_小溪 阅读(236) 评论(0) 推荐(0) 编辑