throw new InternalError("Socket.setSoTimeout not implemented");
if (timeout < 0) throw new IllegalArgumentException("Invalid timeout: " + timeout);  impl.setOption(SocketOptions.SO_TIMEOUT, new Integer(timeout));
  public void setSoTimeout (int timeout) throws SocketException  {    throw new InternalError("Socket.setSoTimeout not implemented");  }