if (connected)
if (!isOpen()) throw new ClosedChannelException();  if (isConnected())
  public boolean connect (SocketAddress remote) throws IOException  {    if (connected)      throw new AlreadyConnectedException();	    socket.connect (remote, 50);    connected = true;    return blocking; // FIXME  }