if (address == null) throw new IllegalArgumentException ("Address may not be null");  if (port < 1 || port > 65535) throw new IllegalArgumentException ("Port number is illegal");  SecurityManager s = System.getSecurityManager(); if (s != null) s.checkAccept(address.getHostName (), port);  impl.connect (address, port);  remoteAddress = address; remotePort = port;
  public void connect(InetAddress address, int port)    throws SocketException  {    //impl.connect(address, port);  }