channel.configureBlocking(true);
initSocket(newChannelFD(runtime, channel));
success = true;
} catch(BindException e) {
throw runtime.newErrnoEADDRFromBindException(e, " to: " + remoteHost + ":" + String.valueOf(remotePort));
} catch (NoRouteToHostException nrthe) {
throw runtime.newErrnoEHOSTUNREACHError("SocketChannel.connect");
} catch(ConnectException e) {