channel.configureBlocking(true);
initSocket(runtime, new ChannelDescriptor(channel, newModeFlags(runtime, ModeFlags.RDWR)));
success = true;
} catch (NoRouteToHostException nrthe) {
throw runtime.newErrnoEHOSTUNREACHError("SocketChannel.connect");
} catch(ConnectException e) {
throw runtime.newErrnoECONNREFUSEDError();
} catch(UnknownHostException e) {