socket.connect (remote, 50); connected = true; return blocking;
if (connectionPending) throw new ConnectionPendingException();  if (!(remote instanceof InetSocketAddress)) throw new UnsupportedAddressTypeException();  if (((InetSocketAddress) remote).isUnresolved()) throw new UnresolvedAddressException();  if (blocking) {  socket.connect (remote); connected = true; return true; }   try { socket.connect (remote, NIOConstants.DEFAULT_TIMEOUT); connected = true; return true; } catch (SocketTimeoutException e) { connectionPending = true; return false; }
  public boolean connect (SocketAddress remote) throws IOException  {    if (connected)      throw new AlreadyConnectedException();	    socket.connect (remote, 50);    connected = true;    return blocking; // FIXME  }