return new ChannelDescriptor(channel, modeFlags);
}
private void initProtocol(Ruby runtime, IRubyObject protocol) {
ProtocolFamily protocolFamily = SocketUtils.protocolFamilyFromArg(protocol);
if (protocolFamily == null) {
return; // no protocol specified, ignore it
}