如何打开SocketChannel?

答案解析

调用SocketChannel.open()方法或通过Selector注册获取。