if (ch != null && !ch.isBlocking ()) throw new IllegalBlockingModeException ();
  public void connect (SocketAddress endpoint)    throws IOException  {    if (! (endpoint instanceof InetSocketAddress))      throw new IllegalArgumentException ("Address type not supported");    impl.connect (endpoint, 0);  }