...
try{
Bootstrap bootstrap = new Bootstrap()
.group(group)
.channel(NioSocketChannel.class)
.handler(new ChatClientInitializer());
Channel channel = new bootstrap.connect(host, port).sync().channel();
...}
只是说无法解决符号"连接",出了什么问题?